RsReddit is lightweight wrapper for the Reddit Web API. The goal is to cover most common and useful endpoints like browsing subreddits, creating posts, commenting on posts. For a complete reference, see the official documentation
Implemented endpoints: * Get sorted posts of subreddit or frontpage * Top posts * Hot posts * Best posts * Rising posts * New posts * Controversial posts
OAuth2 specific implementations: * Authorize Client with Reddit UI ( Get OAuth bearer token ) * Refresh bearer token * Revoke bearer token
Add to your Cargo.toml
:
toml
[dependencies]
rsreddit = "0.1.2"
Or get it from GitHub.
See changelog for release history
Pull requetss, code reviews, general feedback are welcome!