Leagues By Date
This endpoint allows you to retrieve the leagues from a specific date. The date has a format of YYYY-DD-MM.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
langattribute. Example:lang=en.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated every day.
Recommended Calls: Limit calls to 1 per day.
Use Cases
Get leagues from a specific datehttps://floorball.sportdevs.com/leagues-by-date?date=eq.{date}
Query Parameters
- date text
Default value:
eq.2006-09-30The date
- offset string
Default value:
0Limiting and Pagination
- limit string
Default value:
50Limiting and Pagination
- lang string
Default value:
enMulti-language
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- date text
The date
- leagues jsonb
The leagues
[
{
"date": "2006-09-30",
"leagues": [
{
"class_id": "Finland",
"league_id": 3504,
"class_name": "Finland",
"league_name": "F-Liiga",
"class_hash_image": "b9a09df232e5c16a7cddd7afb7aa27d9b6073a80daf0fcbcc752d19e19427622",
"league_hash_image": "5ce020a7c4af1b7c0f7d7490052ec2f7d1f05136aaf6896b9cbebd756e746392",
"league_importance": 0
}
]
}
]