Skip to content

eranhirs/ruby-stackoverflow

 
 

Repository files navigation

Ruby::Stackoverflow Code Climate

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

##LICENSE

About

Ruby interface for stackoverflow api

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%