Ruby wrapper for the Reddit API
Pull request Compare This branch is 7 commits behind jamescook:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
features
lib
.gemspec
.gitignore
LICENSE
README.rdoc
Rakefile
VERSION

README.rdoc

Ruby Reddit Client v0.2.3

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. rake cucumber

License

Ruby Reddit API is released under the MIT License.