Libraries which make building apps with the reddit API a breeze.
Available in Ruby and Objective-C.
Features
-
Easy authentication
Sign in to your reddit account with a single line.
-
Complete coverage
RedditKit covers the entire reddit API.
-
Simple setup
Quick installation with RubyGems or CocoaPods.
Examples
Check the front page
links = RedditKit.front_page links.each do |link| puts "The link titled '#{link.title}' was posted by #{link.author}." end
Search for links to GitHub
links = RedditKit.search 'site:github.com subreddit:programming' puts "GitHub links: #{links}"
Browse a user's comments
comments = RedditKit.user_content 'samsymons', :category => :comments comments.each do |comment| puts "The comment '#{comment.text}' was posted at #{comment.posted_at}." end
Take RedditKit for a spin.
Head to GitHub to grab the latest versions of the libraries, complete with documentation and example code.
A project by Sam Symons and others.
Available under the MIT license.