Teams By League
This endpoint allows you to retrieve the teams from a specific league.
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 league_idhttps://floorball.sportdevs.com/teams-by-league?league_id=eq.{league_id}
Query Parameters
- league_id integer
Default value:
eq.3502
The id of the league
- 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
- league_id integer
The id of the league
Note: This is a Foreign Key to
leagues.id
. - league_name text
The name of the league
- league_hash_image character varying
Possible values:
<= 64 characters
The hash image of the league
- teams jsonb
The teams
[
{
"league_id": 3502,
"league_name": "Superliga",
"league_hash_image": "8182d320151fee869af12d7a42962db9fe27a69ff0121a576056c3417f3a7cbe",
"teams": [
{
"id": 51578,
"name": "FAT PIPE Florbal Chodov",
"hash_image": "ada16aaecde658d37dc6417357499904211f9b2115ff0a1bb9e634629a891859"
},
{
"id": 51603,
"name": "Technology Mladá Boleslav",
"hash_image": "f24b3729cb383079897e68bec09d7662933fd8499ec14ff5b1298dc8512013ac"
},
{
"id": 51631,
"name": "FBC Liberec",
"hash_image": "fb4f99c7905a647cfc11e177982221ae396d49f79804d95ae4702692fb34d52a"
},
{
"id": 51639,
"name": "1. SC TEMPISH Vítkovice",
"hash_image": "9e598e9bb7996ea8be66c0053f2a5388d0bd6f240419c314683fab1844b61e16"
},
{
"id": 51666,
"name": "FbS Bohemians",
"hash_image": "0279a2a63f65c8d0d61ca229628d30004db5f083f0ff205a34289d58d15d46cd"
},
{
"id": 51677,
"name": "ACEMA Sparta Praha",
"hash_image": "4922ebfda145153621325245cb1a6d62a3f357593f209bca208ec3e902388c67"
},
{
"id": 51697,
"name": "FBC Bystron Group Ostrava",
"hash_image": "73326adcd845c4b9bbfa8c5b3e2305deaada56659f258e0aacb2442ade1a43b3"
},
{
"id": 51699,
"name": "Sokol Kral Vinohrady",
"hash_image": "a3b780ce826ee24d41b15bbb6716dd3e87cb2755b41b41579a6198425e535569"
},
{
"id": 51736,
"name": "Black Angels",
"hash_image": "940a3e5e7790e55f9c30d6ca25832cc708f098fd7fc84c880dbe9b937b8740e3"
},
{
"id": 51743,
"name": "FBC 4CLEAN Česká Lípa",
"hash_image": "ea5192283a1bd8ce8c7434526eb55146eccd33f70210aa5f6d045d38d3fea765"
},
{
"id": 51773,
"name": "Sokol Pardubice",
"hash_image": "e1854b35ba7aea9d1672ef89c617ff231e01423108349b993d5be39ac62e6da8"
},
{
"id": 51782,
"name": "Buchis",
"hash_image": "d79b887d2e1fdd945ed687703cc5c2ac8a4e5cd0e5300e8fa5f05d0a3c7a2a53"
},
{
"id": 51797,
"name": "Hu-Fa Panthers Otrokovice",
"hash_image": "7985e1170d2f870981335db82fceecde315c064386de02f8421272b42637b4bc"
},
{
"id": 51806,
"name": "FB Hurrican Karlovy Vary",
"hash_image": "195a4bb63a84acc665068d215d7744e0f73a2689b262850f978dd3e8782cad5f"
},
{
"id": 51843,
"name": "itelligence Bulldogs Brno",
"hash_image": "1bb5f7d363f4223f42cc1716616e85bf6caf1b1eadfb3ae68ff3b60bc010b348"
},
{
"id": 51860,
"name": "TJ Znojmo LAUFEN CZ",
"hash_image": "2b906eb5d4930953dd1985e4a4f51e85e32cd5022fad5c34b84b4405b9540f91"
},
{
"id": 51862,
"name": "Fbs Hattrick Brno",
"hash_image": "e38766d1cdfd35bcea37fabdc199b4e378965045a126f3aa05119dd69e6e235e"
},
{
"id": 51899,
"name": "Florbal Ústí",
"hash_image": "10adc078ee3e5018f75f79df63e7953105e4cfeac611ce0af17b9206b82d5119"
},
{
"id": 51910,
"name": "Kanonyri Kladno",
"hash_image": "b1a355b3ae0a03fb0cb3f321b54347ff42f038260c93270739d285efca0473a7"
},
{
"id": 51925,
"name": "Torpedo Havirov",
"hash_image": "c7ac4bf335d5d3b716e2f1b82ce29ea7dcfe4e88b3cfff8c2a73a4a43c98b763"
},
{
"id": 51927,
"name": "SK Bivoj Litvinov",
"hash_image": "8a262afaa89c102f0a9ffee9602615cd3e76d25394ddb518b7fe19e199d92db5"
},
{
"id": 51932,
"name": "Ssk Future",
"hash_image": "228843c2250065d5e4b0565fb89a76f62e1848012d1b0483b279fa93097aee62"
}
]
}
]