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://snooker.sportdevs.com/teams-by-tournament?tournament_id=eq.{tournament_id}
Query Parameters
- tournament_id integer
Default value:
eq.942
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": 942,
"tournament_name": "World Championship 2022",
"teams": [
{
"team_id": 48263,
"team_name": "Lisowski J.",
"team_hash_image": "9cf08e478d0770cd54d1b4a4cb354c126c76eb02d8677980a61d19b9579cd1e5"
},
{
"team_id": 48282,
"team_name": "Highfield L.",
"team_hash_image": "72615dcd2f39116bd5c3cd9680506520e2018f440d7b987aa779031db5f95575"
},
{
"team_id": 48290,
"team_name": "Junhui D.",
"team_hash_image": "9bd23e35ca51de1f84bbef06cc6464b901ee2d7c9c8bf00b76b53e320788fdef"
},
{
"team_id": 48332,
"team_name": "Gilbert D.",
"team_hash_image": "bed22aa42377c876c5c0946397fd37372b5efede01dc54cf0d55e2707b9078ff"
},
{
"team_id": 48415,
"team_name": "Maguire S.",
"team_hash_image": "d4debbf51b48568a178a8524b451be0da6fa2b31a4ee4de675a3e43b01dc7a7c"
},
{
"team_id": 48294,
"team_name": "Clarke R.",
"team_hash_image": "fedb486427e890c07c892cf7e651986fab4cf96779636d18a1b4065e3b34619e"
},
{
"team_id": 48252,
"team_name": "Stevens M.",
"team_hash_image": "6f59564c2b9c7db188bdebb0d6074bddcbeb94c1bc3fbd0a93a6443b5c64c9d4"
},
{
"team_id": 48264,
"team_name": "Bingham S.",
"team_hash_image": "2cabdfe69a0f602486575f81497def0e1dfb240fd717e534855373d089a77c8e"
},
{
"team_id": 48362,
"team_name": "McGill A.",
"team_hash_image": "3594c2c8a9c66f05837f22dd44dd156fbd57a61d38bbf60326a299b53a264be7"
},
{
"team_id": 49202,
"team_name": "Vafaei H.",
"team_hash_image": "47ebaf864625af8024ff92cf795b54525b004985f1d0378564257375e3253546"
},
{
"team_id": 1992,
"team_name": "Robertson N.",
"team_hash_image": "832afa326372567e9e2185676ef1970bba0a2ac48feccd0dd8651dfc504cbff8"
},
{
"team_id": 2030,
"team_name": "Trump J.",
"team_hash_image": "9c6698d0c1e0631ddd69edb32dbf3fe7b8509c53b664802dc12c26f3c559c9d8"
},
{
"team_id": 1998,
"team_name": "Williams M.",
"team_hash_image": "dbbbcd4f786588e0774809b586fdd92581fc829556ba153ae5fcbd52d028e427"
},
{
"team_id": 49106,
"team_name": "Un-Nooh T.",
"team_hash_image": "61cf3aa9f17e879ad8702491132a84dc5ab0f107df2ef09ab284bab03c379af0"
},
{
"team_id": 49132,
"team_name": "White M.",
"team_hash_image": "cb833f126b3a64199931bb5a87243195096bfedcff14e72acc5ca15bd87d0ff7"
},
{
"team_id": 1856,
"team_name": "Allen M.",
"team_hash_image": "179cf42ff3336261e224c71d9e86835489bb00f2245b4d1b505d6184ff94bd55"
},
{
"team_id": 1807,
"team_name": "Murphy S.",
"team_hash_image": "5be940b53147a109b2ca09465b0a213bd7ee1e2fa5ee0b285c875c17a84e3959"
},
{
"team_id": 1942,
"team_name": "Higgins J.",
"team_hash_image": "59c4f98164fef7c92ae4c5b04f28920468155d69f48b7053feef623f06bb45bf"
},
{
"team_id": 2196,
"team_name": "Selby M.",
"team_hash_image": "146bb7d52e20ad0022985fba74a64773180727d687429af71894a9b65f44a109"
},
{
"team_id": 2223,
"team_name": "Bingtao Y.",
"team_hash_image": "033c256ffc9609e4c1228257fd5d673eb0c84858aa3d6a39da6760f562f7a3fb"
}
]
}
]