Events
Retrieve a listing of all all scheduled, cancelled, postponed, and delayed events, that are within our “markets window”.
GET https://data.unabated.com/event/{league}/upcoming
URL Parameters
|
Field |
Type |
Description |
|
|
String |
The league for which to retrieve data. |
|
|
String |
The datetime after which changes or additions occurred to the events (in UTC time, ISO 8601 format). Will only return those rows. If null/empty, then all events are returned. |
Response Fields
|
Attribute |
Type |
Description |
|
|
Integer |
The unique static key of the event/game. |
|
|
String or null |
The name of the event. |
|
|
String |
The scheduled start time of the game in ISO 8601 format (in UTC). |
|
|
String or null |
The end time of the event in ISO 8601 format (in UTC), if any. For future use. |
|
|
Integer |
See |
|
|
Integer |
The identifier of the league the event belongs to. |
|
|
Integer or null |
The identifier of the season. |
|
|
Integer or null |
The identifier of the part of the season. |
|
|
Integer or null |
The identifier of the tournament, if any. |
|
|
String or null |
Contains a description of the game state. Typically the game clock. Example: 12:45 1H |
|
|
Integer or null |
Period Type (see Period Types table for valid values) that the game is currently in. |
|
|
Integer or null |
A number indicating how many overtime periods the game went to. Examples: An MLB game that goes to the 12th inning will have the number 12. A CFB game which goes into 3 overtimes will have a 3. |
|
|
Array |
An array of team objects participating in the event. Each object has fields including id, rotationNumber, and score. |
|
|
Object or null |
Partner-specific event data with partner keys and associated event IDs. |
|
|
String or null |
The last modification date and time in ISO 8601 format. |
Event Team Fields
|
Attribute |
Type |
Description |
|
|
Integer |
The identifier of the team. |
|
|
Integer or null |
The rotation number assigned to the team, if any. |
|
|
Integer or null |
The current score for the team, if available. |
|
|
Integer or null |
The side of the event for this team when known. |
|
|
String or null |
The display name of the team, if available. |