Teams By Season
This endpoint allows you to retrieve the teams from a specific season.
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 teams from a specific season_idhttps://bandy.sportdevs.com/teams-by-season?season_id=eq.{season_id}
Query Parameters
- season_id integer
Default value:
eq.12738
The id of the season
- 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
- season_id integer
The id of the season
Note: This is a Primary Key.
- season_name text
The name of the season
- teams jsonb
The teams
[
{
"season_id": 12738,
"season_name": "Elitserien 23/24",
"teams": [
{
"team_id": 51953,
"team_name": "Bollnäs GOIF/BF",
"team_hash_image": "ea53722ee42d42f26ed744798e2236c4c59b725665b8e3385fd1b83311fd48b9"
},
{
"team_id": 51976,
"team_name": "Villa-Lidköping BK",
"team_hash_image": "5cad2321f02817c5efce8f97cb5932620439793e27c5d9da269e2531933b831f"
},
{
"team_id": 51985,
"team_name": "Broberg/Söderhamn BS",
"team_hash_image": "7e9443b64a0c2c4d33668d94877677bb523f7c7ecfc39bd2ca94eb647c3c1a27"
},
{
"team_id": 51988,
"team_name": "AIK",
"team_hash_image": "4a16195d48b8d2695de81e996f765f18c680245de73d720e8f63cd02eade549b"
},
{
"team_id": 52005,
"team_name": "Sandvikens AIK/BK",
"team_hash_image": "ed7e95782bc559af8f5a6f2a901e043cb089924d03b28afdc06d65aff952a777"
},
{
"team_id": 52022,
"team_name": "Edsbyns IF",
"team_hash_image": "413adb8f195cdaaf06487b1c89c405a5d8d1350c44f379fc8a0efcbf9e8d8ef8"
},
{
"team_id": 52047,
"team_name": "Vetlanda BK",
"team_hash_image": "c211890b90f3d4b763063c50943e3cc075cd18e782194ae4c7fafaad35c696e0"
},
{
"team_id": 52055,
"team_name": "Frillesås BK",
"team_hash_image": "10cb94819a164a74dd2116427435b17654c0d7415352c2cb94ac3d68604c07e0"
},
{
"team_id": 52062,
"team_name": "IFK Vänersborg",
"team_hash_image": "e3ba4daca6d9d10db2c4add8f4f54af85b5dad036feb7e7c6682fd6203ed08a1"
},
{
"team_id": 52063,
"team_name": "IK Sirius BK",
"team_hash_image": "539d13d924d049643467e5d1a2638a85a7af444181ae8e4a0f45f6774a013581"
},
{
"team_id": 52064,
"team_name": "Hammarby IF",
"team_hash_image": "ef45260dc16605f4ceaa100a3dd3b9f45c29ea739c48c9284dae88a1b61fd0b2"
},
{
"team_id": 52111,
"team_name": "GAIS Bandyklubb",
"team_hash_image": "bee07d6d4b787bde29f8a9c33be8d748bb07e73bbe7c02dc833af68709784ac1"
}
]
}
]