The previous API endpoints for retrieving live game data included a datetime field for each event. The newest endpoints don't seem to provide this information anymore. Examples below.
This makes it impossible to chronologically sort events across several games, for example.
{
"result": {
"eventCode": "ANA89",
"eventTypeId": "HIT",
"description": "Tomas Nosek hit Adam Henrique",
"event": "Hit"
},
"players": [
{
"playerType": "Hitter",
"player": {
"link": "/api/v1/people/8477931",
"fullName": "Tomas Nosek",
"id": 8477931
}
},
{
"playerType": "Hittee",
"player": {
"link": "/api/v1/people/8474641",
"fullName": "Adam Henrique",
"id": 8474641
}
}
],
"about": {
"eventIdx": 123,
"dateTime": "2023-01-09T02:42:01Z", <------------------------------------------------
"eventId": 89,
"period": 2,
"periodType": "REGULAR",
"ordinalNum": "2nd",
"periodTime": "04:13",
"periodTimeRemaining": "15:47",
"goals": {
"away": 2,
"home": 1
}
},
"coordinates": {
"x": 32,
"y": -39
},
"team": {
"name": "Boston Bruins",
"link": "/api/v1/teams/6",
"id": 6,
"triCode": "BOS"
}
}
{
"eventId": 57,
"period": 1,
"periodDescriptor": {
"number": 1,
"periodType": "REG"
},
"timeInPeriod": "00:25",
"timeRemaining": "19:35",
"situationCode": "1551",
"homeTeamDefendingSide": "left",
"typeCode": 509,
"typeDescKey": "penalty",
"sortOrder": 13,
"details": {
"xCoord": -94,
"yCoord": 23,
"zoneCode": "O",
"typeCode": "MIN",
"descKey": "tripping",
"duration": 2,
"committedByPlayerId": 8478493,
"drawnByPlayerId": 8481564,
"eventOwnerTeamId": 30
}
}