Live Match Events
Endpoint /match/{matchFifaId}/latest/events
is used to get the latest match events changes (goal, yellow cards, substitution) that have happened in the last N seconds.
It has two required parameters:
The Match ID
Number of seconds (so the user is able to track the latest updates of the match he is interested in)
Example payload of an event that is added or edited:
{
"id": 13901536,
"matchPhase": "FIRST_HALF",
"minute": 30,
"second": null,
"stoppageTime": null,
"eventType": "GOAL",
"eventDetailType": null,
"playerFifaId": 240607,
"playerFifaId2": null,
"matchTeam": "HOME",
"penaltyOrder": null,
"personName": null,
"localPersonName": null,
"personName2": null,
"localPersonName2": null
}
Example payload of a deleted event:
{
"id": 13901587,
"matchPhase": null,
"minute": null,
"second": null,
"stoppageTime": null,
"eventType": null,
"eventDetailType": null,
"playerFifaId": null,
"playerFifaId2": null,
"matchTeam": null,
"penaltyOrder": null,
"personName": null,
"localPersonName": null,
"personName2": null,
"localPersonName2": null
}