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://handball.sportdevs.com/teams-by-league?league_id=eq.{league_id}
Query Parameters
- league_id integer
Default value:
eq.2043
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": 2043,
"league_name": "1a Divisao",
"league_hash_image": "fac37909de23a18cef97792e84e46d2dc9d58eca0bafa6880e760d2510c15985",
"teams": [
{
"id": 1241,
"name": "Porto",
"hash_image": "2d607f52b76d7e06c165c1403122d5050593a7531ff93066c90d8a2d0df0127b"
},
{
"id": 1300,
"name": "Sporting",
"hash_image": "15297e3c9bed8c68b3c7d49284955edb1fa5cdf466216ecc771499f93cc13097"
},
{
"id": 42654,
"name": "SL Benfica",
"hash_image": "18a5c8ab8f7b3345cdb4c33217dc768ca6dfe13fb007bb7d8091e2ad657c0c56"
},
{
"id": 42670,
"name": "ABC de Braga",
"hash_image": "64e2e5eb56db63b6c0aa5c0bae55d3663b6fe2f5afd30938d8c88cc3c849c0b9"
},
{
"id": 42715,
"name": "AA Águas Santas",
"hash_image": "f0d36bbd03f086f0d653d489989bde224a7b376b927d122fe88e52186d210b0f"
},
{
"id": 42755,
"name": "Marítimo Da Madeira Andebol SAD",
"hash_image": "630c0d7c45b0431251c498ed9f429006bae45a70e4444c1597440ccd414bd113"
},
{
"id": 42802,
"name": "Belenenses",
"hash_image": "dcde75c6e47f1821db1f7ab553ca22bc82c79c83d4684591e47e9c6209b3503b"
},
{
"id": 42845,
"name": "Póvoa Andebol/Bodegão",
"hash_image": "728f1e4a3176b6e0a53808c05532798f14b806185caa4c58d1f72c46408fe8df"
},
{
"id": 42882,
"name": "Vitoria SC",
"hash_image": "0335c45a649b7afab2578f186202edbbacfc0219950142181c4831bf9b248f32"
},
{
"id": 42901,
"name": "Associação Artística de Avanca",
"hash_image": "30910c4cb93080fc510811753f9638ffcbe771b3572ce3f7e43107b428e07395"
},
{
"id": 42951,
"name": "FC Gaia",
"hash_image": "c7fe3546757fbb5b08e9839b146e3be0c42582b1607ee6044d5c8cc61cd8c4de"
},
{
"id": 43002,
"name": "Vitoria FC",
"hash_image": "cd0678d898d98566f4809d5b2f8ccfef86884e69dfa913069c02144d897ff9df"
},
{
"id": 43501,
"name": "Boa Hora FC",
"hash_image": "ce0106ca7977c829f7625c8c07665b3d6de409c19df7bef6b067bdbcc68b54eb"
},
{
"id": 43555,
"name": "Arsenal / LXS Group",
"hash_image": "9091b8994889b6d955f807b722d4c576d648a84496bbe11b8e0abbafc3ad5fd7"
},
{
"id": 43660,
"name": "NAAL Passos Manuel",
"hash_image": "1d45281aa62723247cbd40629561341baf0994a916329fe5fe69816656e2cadd"
},
{
"id": 43700,
"name": "GC Santo Tirso",
"hash_image": "af2acfaa3ea6eab9eee83e5c0f0270e53e0dc97975e0947be56baf4d618603b1"
},
{
"id": 44221,
"name": "Académico de Viseu",
"hash_image": "a6c1d3d97aa6508d10ac3a1c7152b068aff4cb22706ecbb81f31aa0d47f7cfe0"
},
{
"id": 44226,
"name": "CCR Fermentões",
"hash_image": "c2aca361bda65cb7b7bf1597dfe5134bb9d3ef2973ad1429ac5c2c289449491f"
},
{
"id": 44233,
"name": "Nazaré Andebol Clube",
"hash_image": "6cd143a07cada539df8296d313de680f9be8a9ebeaee6874256dd2d4a614d307"
}
]
}
]