Teams By Season
This endpoint allows you to retrieve the teams from a specific season.
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 season_idhttps://snooker.sportdevs.com/teams-by-season?season_id=eq.{season_id}
Query Parameters
- season_id integer
Default value:
eq.12255
The id of the season
- 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
- season_id integer
The id of the season
Note: This is a Primary Key.
- season_name text
The name of the season
- teams jsonb
The teams
[
{
"season_id": 12255,
"season_name": "World Cup 2019",
"teams": [
{
"team_id": 48250,
"team_name": "Thailand 1",
"team_hash_image": "e50209dce27932b2f4f22421a1f2beef465994301fd3ce48fa9823ed9c553541"
},
{
"team_id": 48258,
"team_name": "Northern Ireland",
"team_hash_image": "2db138eae77d585707e127f7bf6aeb9070c4aece8f2e0b897a06ae50bfaf7392"
},
{
"team_id": 48261,
"team_name": "China",
"team_hash_image": "3b831033bc29afd8f4e1f2e6f2ca222296a8016fa3fd40995f180f3fc12a7e80"
},
{
"team_id": 48268,
"team_name": "Israel",
"team_hash_image": "aed2d770da7770cd669c0848c45c81a1ec9c489d534d0818c7d43464aeef8a4e"
},
{
"team_id": 48269,
"team_name": "India",
"team_hash_image": "3204711a6b7b334e221af7c26065e3d2178a249c539da5f5de67d140b4819da2"
},
{
"team_id": 48270,
"team_name": "Poland",
"team_hash_image": "4de8393a70bcf4502feef506600663f59bc844f7b407575946d7ddbebb6ede7e"
},
{
"team_id": 48272,
"team_name": "Norway",
"team_hash_image": "63d06028c079347d13cf16e0a77cbfac4b717f9663973c365c31f89c5fc5e3a8"
},
{
"team_id": 48275,
"team_name": "Cyprus",
"team_hash_image": "25de4d274d4a15bdcfd263f051fafd1184eb21ca18ce06c27ba0a01f19624da1"
},
{
"team_id": 48277,
"team_name": "Malta",
"team_hash_image": "f83fe88b39c579c5e6c1e6c39711d7997711eee1f1905d99cb4a956b8d4f6d50"
},
{
"team_id": 48281,
"team_name": "Wales",
"team_hash_image": "f423c68d9240a911e5c6239c228d26655b1f0a6880b62c2ac9bce417b7adc7c2"
},
{
"team_id": 48283,
"team_name": "Austria",
"team_hash_image": "cd9d38f72bcd5ed53d8218f5aaa1f4aabf83b1cdcb6a88f6e1b4a90c42628560"
},
{
"team_id": 48286,
"team_name": "Singapore",
"team_hash_image": "58eee36318738b43337320ce186a5adf0251249019076199275b66d43a43ab16"
},
{
"team_id": 48289,
"team_name": "Germany",
"team_hash_image": "9abfefeef09720b7a4dbb78dc9311ffad77467bbc448f6b5642b6fa52727fb4c"
},
{
"team_id": 48291,
"team_name": "China B",
"team_hash_image": "cb35e8058ce956531e800eab6afbb099160bc71f1cde7da406e448d688d88249"
},
{
"team_id": 48297,
"team_name": "Belgium",
"team_hash_image": "915308a51489b89deb4c3f6b9041fd999786fb5a0ba97c8503610ce412e16a6c"
},
{
"team_id": 48298,
"team_name": "Brazil",
"team_hash_image": "605f0d74589ccaa5b2900c58cbbdd1eb0a7f02a6ded075d8d8d6c7b5e304ee58"
},
{
"team_id": 48301,
"team_name": "England",
"team_hash_image": "d80478b13fa2c5cf8123e35c622439e2f0d9f3b4988e987a783c4613f7a0d64b"
},
{
"team_id": 48306,
"team_name": "Malaysia",
"team_hash_image": "21da3da78d2bcb6a777397e35a09abcda9424b5b6c5d98d5f522c9827d9a448a"
},
{
"team_id": 48310,
"team_name": "Hong Kong",
"team_hash_image": "dd5fae7e9077d63cd38fe03f693a818b75440f35f989a598acf090c26e8b4354"
},
{
"team_id": 48316,
"team_name": "Finland",
"team_hash_image": "a8df1e62d7dfeab46b7e8e49059cb72998ad7888363732fb2fd53d3667ca6a64"
},
{
"team_id": 48319,
"team_name": "Ireland",
"team_hash_image": "3b107431346e10e14f691b946c2878c9ec9db264f11e79695b9c16bd32a164f7"
},
{
"team_id": 48324,
"team_name": "Iran",
"team_hash_image": "5cdbe5d558d5e35ed2b23df7ef20ea842ad955258ee9461fe5459f0cacff187b"
},
{
"team_id": 48335,
"team_name": "Pakistan",
"team_hash_image": "03e709fb14616c63f1e61cd59bc79fafd6202567d7617d1ba5d56397d3b96e2d"
},
{
"team_id": 48344,
"team_name": "Australia",
"team_hash_image": "3465c9ffe49953275c20d10fc7bd9511371ff92befb64b764fe3158a6bfe4f7e"
},
{
"team_id": 48345,
"team_name": "Saudi Arabia",
"team_hash_image": "30e38aae454463d08ecaf506835dcb3ff814734393a5e19fe4afb5f6cfe98542"
},
{
"team_id": 48350,
"team_name": "Egypt",
"team_hash_image": "5c5bb06b0836e44a689b43921dc23d57096911469a3cce6e519db262c2a82c41"
},
{
"team_id": 48370,
"team_name": "United Arab Emirates",
"team_hash_image": "0f0a83ab31e9945e4968318f48d19e28c3d0bef8299c3dccaacd222d269cbc4f"
},
{
"team_id": 48373,
"team_name": "Switzerland",
"team_hash_image": "d83612739eebd39a4fdc2702c4f71cc3acb67bbc986c7481f4b3ff01cff61f44"
},
{
"team_id": 48380,
"team_name": "Qatar",
"team_hash_image": "84b644fa3cfd71c7020a204791d406af74d56486312354a22fae2b67eb2b2b5c"
},
{
"team_id": 48411,
"team_name": "Thailand 2",
"team_hash_image": "a39c290ed1a9fadcc047783e05cb9ff02949ddf3be418597f70f22754440da0a"
},
{
"team_id": 48439,
"team_name": "Afghanistan",
"team_hash_image": "003a0b8935e5ef24cb7fcce658f787ec65af84b057d673b0f91a4f3479388b71"
}
]
}
]