GosuAPI is a gem created to communicate with the GosuGamers.net Matchticker. The main goals of this gem are:
- Request information from the GosuGamers.net Matchticker API.
Just add the following to your Gemfile.
gem 'gosu_api'
And follow that up with a bundle install
.
Then generate the initializer file with this command
bin/rails generate gosu_api:install
Now all you have to do is set your API key in the intitalizer file and you're good to go.
GosuApi::GAMES.keys.each do |game|
matchticker = GosuApi::Matchticker.new
matchticker.get_matches(game.to_s)
end
GosuAPI is released under the MIT License.
-
Write test code (I know, I'm terrible)
-
Other GosuGamers API functionality