Note
THis gem has not been updated for the 2014 season. Feel free to send a pull request if you want :-)
AflSchedule
Simple gem to facilitate using the AFL fixture data in apps
Installation
Add this line to your application's Gemfile:
gem 'afl_schedule'
And then execute:
$ bundle
Or install it yourself as:
$ gem install afl_schedule
Usage
require 'afl_schedule'
AFL::Schedule.new.next_match('Essendon')
=> #<OpenStruct home_team="Essendon ", away_team="Melbourne", venue="MCG", time=2013-06-04 19:40:00 +1000>
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request