Project

eper

0.0
No commit activity in last 3 years
No release in over 3 years
API wrapper for web applications, which is fed by football-data.org. You need your own API key.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 10.0

Runtime

~> 0.17.0
~> 2.3.0
 Project Readme

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

  1. add your api_key as environment variable:
$ export football_data_api_key=YourAPIkeywillcomehere1234567890
  1.  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.