Eper
This is a simple ruby gem made for web applications. You need to register on football-data.org and use your own API key.
Installation
Add this line to your application's Gemfile:
gem 'eper'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install eper
Usage
- add your api_key as environment variable:
$ export football_data_api_key=YourAPIkeywillcomehere1234567890
-
Eper.connect(id)
where id is league id, check football-data.org API documentation.
TODO
- optimize code
- add more options(e.g. teams, players, matches)
- write tests
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/kicsipixel/eper.
License
The gem is available as open source under the terms of the MIT License.