Events
GET /stream/events
Changed onSetup streamed (WebSocket) connection
Request
- Base URLhttps://api.sportsgameodds.com/v2
- Auth
- API key in query parameter apiKey
- or API key in header x-api-key
Query parameters
feedstring
The feed you would like to subscribe to
leagueIDstring
A leagueID to stream events for
eventIDstring
An eventID to stream events for. If the eventID has since changed, the Event which lists it in its aliases is streamed
Response
Event stream credentials and initial event data
Example response
{
"data": [
{
"results": {
"game": {
"home": {
"points": 12
},
"away": {
"points": 10
}
}
}
}
]
}Changes
- warning
removed the optional property
data/items/odds/additionalProperties/byBookmaker/additionalProperties/bookmakerIDfrom the response with the status - warning
removed the optional property
data/items/odds/additionalProperties/byBookmaker/additionalProperties/isMainLinefrom the response with the status
- warning
- info
added the optional property
data/items/info/venue/venueIDto the response with the status
- info