Sha256: e83124e85f036da04e8fd8b8a223f0591406ae74a87e8aa390520ef2f580114a
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
Contents
= rubyoverflow {<img src="https://secure.travis-ci.org/phsr/rubyoverflow.png" />}[http://travis-ci.org/phsr/rubyoverflow] rubyoverflow is a library for querying the Stack Overflow API == Example require 'rubyoverflow' c = Rubyoverflow::Client.new result = c.users.fetch(:id => 53587) # By default, this will query StackOverflow.com me = result.users.first # Get the first user out of the results puts me.display_name # => "Dan Seaver" c = Rubyoverflow::Client.new :host => "api.serverfault.com" # Query ServerFault.com == 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 Copyright (c) 2011 Dan Seaver. See LICENSE for details.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubyoverflow-0.5 | README.rdoc |