Stats

Get available sports from Stats Perform

Returns a list of sports available from the Stats Perform API, optionally filtered by API type

get/api/stats/mappings/sports

Request

Request body

api'stats_api' | 'sdapi' nullable

Filter mappings by StatsPerform API type

Example request

{
  "api": "stats_api"
}

Response

List of stats perform mappings with the sports fields filled

idinteger

Unique identifier for the mapping

statsSportstring

Name of the sport in Stats Perform system

statsSportIdinteger

Numeric ID of the sport in Stats Perform system

statsLeagueAbbreviationstring nullable

League abbreviation in Stats Perform system

statsLeagueNamestring nullable

League name in Stats Perform system

statsTeamIdstring nullable

Team identifier in Stats Perform system

statsTeamNamestring nullable

Team name in Stats Perform system

suTeamIdinteger nullable

SponsorUnited team/property ID

suTeamNamestring nullable

SponsorUnited team/property name

statsApistring

Stats Perform API source identifier

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.