Stats
GET /stats/
Changed onGet a list of StatIDs
Request
- Base URLhttps://api.sportsgameodds.com/v2
- Auth
- API key in query parameter apiKey
- or API key in header x-api-key
Query parameters
statIDstring
StatID to get data for
sportIDstring
SportID to get StatIDs for
statLevelstring
Level of the stat, must be used in combination with sportID. Must be one of all, player, or team. Shows stats that are applicable to that specified entity, defaults to all.
Response
An array of Stats
Example response
{
"success": true
}Changes
- info
api operation id
getStatIDsremoved and replaced withgetStats - info
removed the non-success response with the status
- info
- info
added the optional property
successto the response with the status
- info