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-DDbefore: before the date in formatYYYY-MM-DDafter: 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
- over 6 years ago
- February 11, 2019
License
MIT License
Links
Synced at
Wed, 22 Oct 2025 12:03:59 GMT
Languages