Project

gosu_api

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
GosuAPI is a gem created to communicate with the GosuGamers.net Matchticker.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

 Project Readme

GosuAPI

Code Climate

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.

Installation

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.

Usage

GosuApi::GAMES.keys.each do |game|

  matchticker = GosuApi::Matchticker.new
  matchticker.get_matches(game.to_s)

end

License

GosuAPI is released under the MIT License.

TODO

  • Write test code (I know, I'm terrible)

  • Other GosuGamers API functionality