FootballRuby
football-data.org API Container for Ruby
Installation
Add this line to your application's Gemfile:
gem 'football_ruby'
And then execute:
$ bundle
Or install it yourself as:
$ gem install football_ruby
Configuration
To use this gem you have to have an account at football-data.org There are two ways of configuration.
- Block
FootballRuby.configure do |config|
config.api_token = API_TOKEN
end
- Inline
FootballRuby.api_token = API_TOKEN
Usage
More about filters, structure and API: football-data.org
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/Saidbek/football_ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the MIT License.