soccerapi
Soccer API
Simple API to get Ligue 1 soccer data, written in Crystal.
Installation
Requires Crystal 0.27.0.
git clone git@github.com:suruja/soccerapi.git
cd soccerapi
shards install
Usage
crystal run src/soccerapi.cr
Data is renderered as JSON on localhost:3000/
. Data can be filtered using query params:
team
: selected team, as home or visitorhome
: selected home teamvisitor
: selected vistor teamdate
: date in formatYYYY-MM-DD
before
: before the date in formatYYYY-MM-DD
after
: after the date in formatYYYY-MM-DD
Contributing
- Fork it (https://github.com/suruja/soccerapi/fork)
- 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 a new Pull Request
Contributors
- suruja - creator and maintainer
Repository
soccerapi
Owner
Statistic
- 0
- 0
- 0
- 0
- 2
- almost 6 years ago
- February 11, 2019
License
MIT License
Links
Synced at
Sun, 22 Dec 2024 11:18:08 GMT
Languages