Stats
Get available leagues from Stats Perform
Returns a list of leagues available from the Stats Perform API, optionally filtered by sport and API type
get/api/stats/mappings/leagues
Request
- Base URLhttps://api.sponsorunited.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"sport": "basketball",
"api": "stats_api"
}Response
List of stats perform mappings with the sport and league fields filled
Example response
[
{
"id": 1,
"statsSport": "basketball",
"statsSportId": 2,
"statsLeagueAbbreviation": "nba",
"statsLeagueName": "National Basketball Association",
"statsTeamId": "sr:competitor:3417",
"statsTeamName": "Los Angeles Lakers",
"suTeamId": 456,
"suTeamName": "Los Angeles Lakers",
"statsApi": "SDAPI"
}
]Changes
No recorded changes to this operation across all 2 revisions of this API.