GET /teams/
Changed onGet a list of Teams by ID or league
Request
- Base URLhttps://api.sportsgameodds.com/v2
- Auth
- API key in query parameter apiKey
- or API key in header x-api-key
Query parameters
A single sportID or comma-separated list of sportIDs to get Teams for
A single leagueID or comma-separated list of leagueIDs to get Teams for
A single teamID or comma-separated list of teamIDs to get data for. If a teamID has since changed, the Team which lists it in its aliases is returned
The maximum number of Teams to return
The cursor for the request. Used to get the next group of Teams. This is an opaque token — pass the nextCursor value from the prior response unchanged.
Response
An array of teams with pagination
Example response
{
"success": true
}Changes
- info
added the optional property
data/items/names/firstNameto the response with the status - info
added the optional property
data/items/names/lastNameto the response with the status - info
added the optional property
data/items/names/locationto the response with the status
3 more changes in this revision
- info