Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reddit API Wrapper #86

Open
notcraig opened this issue Jan 26, 2018 · 5 comments
Open

Reddit API Wrapper #86

notcraig opened this issue Jan 26, 2018 · 5 comments

Comments

@notcraig
Copy link

notcraig commented Jan 26, 2018

Python famously has PRAW. Ruby has Redd.
I'd love to see a Crystal Reddit API wrapper (CRAW?)

@watzon
Copy link

watzon commented Feb 15, 2018

I actually started work on this, but the process of gaining access to Reddits API is terrible. Like filling out a Google doc terrible.

@alexanderadam
Copy link

alexanderadam commented Oct 3, 2021

I guess @edwardloveall's reddit.cr (a file in the pixelfeed repo) would be a good start if someone would extract it into a separate shard.

@gxfr
Copy link

gxfr commented Jan 8, 2022

I'm currently building a class that authenticates and allows sending GET requests. It shouldn't be too hard expanding to an API wrapper with proper PUT/POST/DELETE request methods.

@alexanderadam
Copy link

I'm currently building a class that authenticates and allows sending GET requests. It shouldn't be too hard expanding to an API wrapper with proper PUT/POST/DELETE request methods.

This would be great! 🙌
By the way, the official API doesn't only has the typical REST actions but also WebSocket subscriptions (see here).

@gxfr
Copy link

gxfr commented Jan 8, 2022

Coming from Python, I simply write the library in Python first and then convert everything to Crystal. I guess websockets is how PRAW implements the submission/comment streams? I've never used websockets so I'll have to figure out how it works, but I can 100% implement support for reddit's live endpoints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants