https://github.com/kanata2/japic
Jleague API Client library implemented by ruby
https://github.com/kanata2/japic
api-client football-data jleague ruby soccer
Last synced: 7 months ago
JSON representation
Jleague API Client library implemented by ruby
- Host: GitHub
- URL: https://github.com/kanata2/japic
- Owner: kanata2
- Created: 2017-03-16T02:35:17.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-16T21:33:16.000Z (over 8 years ago)
- Last Synced: 2025-03-06T15:18:53.496Z (7 months ago)
- Topics: api-client, football-data, jleague, ruby, soccer
- Language: Ruby
- Homepage: https://rubygems.org/gems/japic
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Japic
[](https://travis-ci.org/naoki-k/japic)[Jleague API (unofficial)](http://labs.s-koichi.info/blog/archives/2014/02/08/1759-602.php) Client library implemented by ruby
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'japic'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install japic
## Usage
```ruby
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)
```## TODO
- [ ] error handling
- [x] prepare an interface easy to use
- [ ] document of usage
- [ ] test## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/naoki-k/japic