0.03
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Wraps many reddit API functions such as submission and comments browsing, voting, messaging, friending, and more.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

 Project Readme

Ruby Reddit Client v0.2.6¶ ↑

Tested with ruby 1.8.7 & 1.9.2

Usage¶ ↑

require "ruby_reddit_api"
r = Reddit::Api.new "user", "password"
results = r.browse "ruby"
results[0].upvote

Features¶ ↑

  • Authentication

  • Browse subreddits

  • Searching

  • Read & reply to comments

  • Friend & unfriend redditors

  • Comment & submission voting

Running Tests¶ ↑

  1. Set up the reddit VM (blog.reddit.com/2010/05/admins-never-do-what-you-want-now-it-is.html)

  2. Ensure your hosts file has reddit.local pointing to the VM

  3. gem install bundler

  4. bundle install

  5. rake

License¶ ↑

Ruby Reddit API is released under the MIT License.