An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Japic
[![Build Status](https://travis-ci.org/naoki-k/japic.svg?branch=master)](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