Seasons By Tournament
This endpoint allows you to retrieve the seasons from a specific tournament.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
lang
attribute. 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 seasons from a specific tournament_idhttps://esports.sportdevs.com/seasons-by-tournament?tournament_id=eq.{tournament_id}
Query Parameters
- tournament_id integer
Default value:
eq.8117
The id of the tournament
- offset string
Default value:
0
Limiting and Pagination
- limit string
Default value:
50
Limiting and Pagination
- lang string
Default value:
en
Multi-language
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- tournament_id integer
The id of the tournament
Note: This is a Primary Key.
- tournament_name text
The name of the tournament
- seasons jsonb
The seasons
[
{
"tournament_id": 8117,
"tournament_name": "LCK Regular season",
"seasons": [
{
"id": 12402,
"name": "Summer 2023",
"year": "2023"
},
{
"id": 13481,
"name": "Spring 2023",
"year": "2023"
},
{
"id": 14173,
"name": "Summer 2022",
"year": "2022"
},
{
"id": 14709,
"name": "Spring 2022",
"year": "2022"
},
{
"id": 15173,
"name": "Summer 2021",
"year": "2021"
},
{
"id": 15555,
"name": "Spring 2021",
"year": "2021"
},
{
"id": 15896,
"name": "Summer 2020",
"year": "2020"
},
{
"id": 16226,
"name": "Spring 2020",
"year": "2020"
},
{
"id": 16579,
"name": "Summer 2019",
"year": "2019"
},
{
"id": 16919,
"name": "Spring 2019",
"year": "2019"
},
{
"id": 17216,
"name": "Summer 2018",
"year": "2018"
},
{
"id": 17474,
"name": "Spring 2018",
"year": "2018"
},
{
"id": 17721,
"name": "Summer 2017",
"year": "2017"
},
{
"id": 17966,
"name": "Spring 2017",
"year": "2017"
},
{
"id": 18267,
"name": "Summer 2016",
"year": "2016"
},
{
"id": 18513,
"name": "Spring 2016",
"year": "2016"
},
{
"id": 18732,
"name": "Summer 2015",
"year": "2015"
}
]
}
]