Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.
/ GosuAPI Public archive

GosuAPI is a gem created to communicate with the GosuGamers.net Matchticker.

Notifications You must be signed in to change notification settings

StefanDorresteijn/GosuAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

GosuAPI is a gem created to communicate with the GosuGamers.net Matchticker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages