Teams By Tournament
This endpoint allows you to retrieve the teams 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 teams from a specific tournament_idhttps://handball.sportdevs.com/teams-by-tournament?tournament_id=eq.{tournament_id}
Query Parameters
- tournament_id integer
Default value:
eq.626
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
- teams jsonb
The teams
[
{
"tournament_id": 626,
"tournament_name": "1a Divisao",
"teams": [
{
"team_id": 1300,
"team_name": "Sporting",
"team_hash_image": "15297e3c9bed8c68b3c7d49284955edb1fa5cdf466216ecc771499f93cc13097"
},
{
"team_id": 42802,
"team_name": "Belenenses",
"team_hash_image": "dcde75c6e47f1821db1f7ab553ca22bc82c79c83d4684591e47e9c6209b3503b"
},
{
"team_id": 42845,
"team_name": "Póvoa Andebol/Bodegão",
"team_hash_image": "728f1e4a3176b6e0a53808c05532798f14b806185caa4c58d1f72c46408fe8df"
},
{
"team_id": 42901,
"team_name": "Associação Artística de Avanca",
"team_hash_image": "30910c4cb93080fc510811753f9638ffcbe771b3572ce3f7e43107b428e07395"
},
{
"team_id": 42670,
"team_name": "ABC de Braga",
"team_hash_image": "64e2e5eb56db63b6c0aa5c0bae55d3663b6fe2f5afd30938d8c88cc3c849c0b9"
},
{
"team_id": 43433,
"team_name": "ADA Maia Ismai",
"team_hash_image": "a92866fe71b844831c04675a03ba9fc49e31108b99dac527b8c8a2b436926df2"
},
{
"team_id": 43524,
"team_name": "AD Sanjoanense / Clinicas CMP",
"team_hash_image": "210d47ed717860b827fd5fc5d1125071b6bc94d0b1f05c99dfb563d3aa65b24d"
},
{
"team_id": 43469,
"team_name": "SC Horta",
"team_hash_image": "c77554e385f2846abb2dffc231beb22c2f79419dd10d93da947244482c033fac"
},
{
"team_id": 42951,
"team_name": "FC Gaia",
"team_hash_image": "c7fe3546757fbb5b08e9839b146e3be0c42582b1607ee6044d5c8cc61cd8c4de"
},
{
"team_id": 1241,
"team_name": "Porto",
"team_hash_image": "2d607f52b76d7e06c165c1403122d5050593a7531ff93066c90d8a2d0df0127b"
},
{
"team_id": 43542,
"team_name": "Boavista FC",
"team_hash_image": "30309e45b3cca834244edbfab19f93fa568a279819e208b59cd474039e56fd27"
},
{
"team_id": 42654,
"team_name": "SL Benfica",
"team_hash_image": "18a5c8ab8f7b3345cdb4c33217dc768ca6dfe13fb007bb7d8091e2ad657c0c56"
},
{
"team_id": 42715,
"team_name": "AA Águas Santas",
"team_hash_image": "f0d36bbd03f086f0d653d489989bde224a7b376b927d122fe88e52186d210b0f"
},
{
"team_id": 43501,
"team_name": "Boa Hora FC",
"team_hash_image": "ce0106ca7977c829f7625c8c07665b3d6de409c19df7bef6b067bdbcc68b54eb"
},
{
"team_id": 43002,
"team_name": "Vitoria FC",
"team_hash_image": "cd0678d898d98566f4809d5b2f8ccfef86884e69dfa913069c02144d897ff9df"
},
{
"team_id": 42755,
"team_name": "Marítimo Da Madeira Andebol SAD",
"team_hash_image": "630c0d7c45b0431251c498ed9f429006bae45a70e4444c1597440ccd414bd113"
}
]
}
]