Jleague API (unofficial) Client library implemented by ruby
Add this line to your application's Gemfile:
gem 'japic'
And then execute:
$ bundle
Or install it yourself as:
$ gem install japic
client = Japic::Client.new
# if you want schedule( or result)
schedule = client.schedule(year: 2017, league: 'j1')
# or if you want ranking of n th section
ranking = client.ranking(year: 2017, league: 'j2', section: 1)
- error handling
- prepare an interface easy to use
- document of usage
- test
Bug reports and pull requests are welcome on GitHub at https://github.com/naoki-k/japic