Players
GET /players/
Changed onGet a list of Players for a specific Team or Event
Request
- Base URLhttps://api.sportsgameodds.com/v2
- Auth
- API key in query parameter apiKey
- or API key in header x-api-key
Query parameters
teamIDstring
TeamID to get Players data for
eventIDstring
EventID to get Players data for
playerIDstring
PlayerID to get data for. If a playerID has since changed, the Player which lists it in its aliases is returned
limitnumber
The maximum number of Players to return
cursorstring
The cursor for the request. Used to get the next group of Players. This is an opaque token — pass the nextCursor value from the prior response unchanged.
Response
An array of players with pagination
Example response
{
"success": true
}Changes
- breaking
the
data/items/jerseyNumberresponse's property type changed fromnumbertostringfor status - info
added the optional property
data/items/names/nicknameto the response with the status - info
added the optional property
data/items/names/suffixto the response with the status
- breaking