Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

rubyoverflow is a library for querying the Stack Exchange API

branch: master


rubyoverflow is a library for querying the Stack Overflow API

Build Status

Dependency Status

Status Gemnasium


require 'rubyoverflow'

c =
result = c.users.fetch(:id => 53587) # By default, this will query
me = result.users.first              # Get the first user out of the results
puts me.display_name                 # => "Dan Seaver"

c =
c.users.each_fetch(:min => 100000) do | result_page |       # Query for all users with reputation higher than 1000
  result_page.users.each { |user| puts user.up_vote_count } # Print up votes count for these users

c = :host => "" # Query

Note on Patches/Pull Requests

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don't break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)

  • Send me a pull request. Bonus points for topic branches.


Copyright © 2011 Dan Seaver. See LICENSE for details.

Something went wrong with that request. Please try again.