Skip to content

tevren/RubyRedditAPI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tested with ruby 1.8.7 & 1.9.2

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

  • Browse subreddits

  • Searching

  • Read & reply to comments

  • Friend & unfriend redditors

  • Comment & submission voting

  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

Ruby Reddit API is released under the MIT License.

About

Ruby wrapper for the Reddit API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 50.4%
  • CSS 33.2%
  • JavaScript 16.4%