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://table-tennis.sportdevs.com/teams-by-tournament?tournament_id=eq.{tournament_id}
Query Parameters
- tournament_id integer
Default value:
eq.652
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": 652,
"tournament_name": "Bundesliga, Teams",
"teams": [
{
"team_id": 34596,
"team_name": "TTC Neu-Ulm",
"team_hash_image": "a112bdff3278bb38105313ce8c9779f43f67a57a07d5dc50b2aca4521557173b"
},
{
"team_id": 34645,
"team_name": "TSV Bad Konigshofen",
"team_hash_image": "f0d33f87232794212f37205070a582cd9a16d74ea112b347741186f1f3977c44"
},
{
"team_id": 34572,
"team_name": "TTC Fulda Maberzell",
"team_hash_image": "b88f5c08761b49d3a9fe26dd1dd5f41fdbc8018e955e10d4ff47ea7c0b050781"
},
{
"team_id": 261411,
"team_name": "FC Saarbrücken",
"team_hash_image": "70033d7458e3389912bfc5544d99ca081b23b56d2b05e60005becf5681700395"
},
{
"team_id": 34677,
"team_name": "TTC Zugbrücke Grenzau",
"team_hash_image": "14ca6b825df633756353ce486f99cc5f525afa277e09361bef41b893b992dfd5"
},
{
"team_id": 34548,
"team_name": "TTC Bergneustadt",
"team_hash_image": "ed96377d88d6f5c0e80d1b34d4885782d9589c033b78e90d8251ce2668431c00"
},
{
"team_id": 34589,
"team_name": "Post SV Mühlhausen",
"team_hash_image": "aee688e048cfbbae6e77347cd8c399a13a2c95c3dd72378385aa1256223a0c91"
},
{
"team_id": 34963,
"team_name": "TTC Hagen",
"team_hash_image": "b2930197b14fdfe6ec31c3281dbf68f2306f1d6cd66b74b0cf8af17eec31c0e9"
},
{
"team_id": 34618,
"team_name": "ASV Gruenwettersbach",
"team_hash_image": "9782f88f2784ee83042fbae814360f939929384f6a058eab4d9fbceddaa943ab"
},
{
"team_id": 34709,
"team_name": "TTC indeland Jülich",
"team_hash_image": "a4317f7e0a4180dd00015e80f086e7cf901a88a670889c300ff06b52cfd5cd11"
},
{
"team_id": 34440,
"team_name": "TTF Ochsenhausen",
"team_hash_image": "4e4553a4b3c8a7d40ea2fbede6365ddde59940696ceae19b6b146304ca0b3d23"
},
{
"team_id": 1273,
"team_name": "Borussia Düsseldorf",
"team_hash_image": "d273c83c094c9ff9aa63d69307593a83516e1f361a01ac317516d958b1e7e445"
},
{
"team_id": 35077,
"team_name": "TTC Frickenhausen",
"team_hash_image": "b266efb00fc52fc790d46f96a0cf6aa5ead27887da703ad5a21600baafc76205"
},
{
"team_id": 34478,
"team_name": "FC Saarbrücken",
"team_hash_image": "70033d7458e3389912bfc5544d99ca081b23b56d2b05e60005becf5681700395"
},
{
"team_id": 34528,
"team_name": "Werder Bremen",
"team_hash_image": "9898bfebf9273f1c7d405bd0eb26c9fba1544e97e5ddafc0e052e75b7c2b016d"
}
]
}
]