This is a simple ruby gem made for web applications. You need to register on football-data.org and use your own API key.
Add this line to your application's Gemfile:
gem 'eper'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install eper
- 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.
- optimize code
- add more options(e.g. teams, players, matches)
- write tests
Bug reports and pull requests are welcome on GitHub at https://github.com/kicsipixel/eper.
The gem is available as open source under the terms of the MIT License.