orca
A simple reddit API interface for Rust
Features Implemented:
- Comment streams from entire subreddits
- Comment tree traversing
- Oauth script authorization
- Oauth installed app authorization
- Self post submissions
- User info
- Comment data structure
- Listing data structure
- Comment submissions
- Automatic ratelimiting (steady and burst)
- Failure for error handling
Features Todo (nonexhaustive):
- All data structures, or maybe pure json. Consistency is the goal.
- Better documentation
- More reddit api implementation
- More complete error handling
Contributing
If you've ever made a pull request on github before, you probably know more about it than me. I would really appreciate any help on this project, so if you have an idea on how to improve it, please feel free to submit an issue or pull request.
Example: Recursively traversing a comment tree
print_tree;
Example: Authorizing as Ouath Script type
let mut app = new;
reddit.conn.auth = Some;
Generic Notice: This is an unstable project yadda yadda yadda use it if you dare thanks