Ruby::Stackoverflow
Ruby toolkit to Stackoverflow API
Install
Add this line to your application's Gemfile:
gem 'ruby-stackoverflow'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ruby-stackoverflow
###Documentation
User Calls
Questions Calls
Badges Calls
Comments Calls
##Configuration
You can add your key and access-token for higher rate limit.
To get Key and Access Token you have to register your app to http://stackapps.com/
Run command in your application dir.
$ rails generate ruby_stackoverflow --client_key=<key> --access_token=<access token>
This command will create a ruby_stackoverflow.rb file in config/initializers.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
##LICENSE