The incidents description can be done by “incidentType” and “incidentClass” or “text”.
- incidentType can be: “period”, “penaltyShootout”, “card”, “substitution”, “injuryTime”, “goal”, “varDecision”, “inGamePenalty”
- incidentClass for “penaltyShootout”: “scored”, “missed”
- incidentClass for “card”: “red”, “yellow”, "yellowRed"
text for “period”: “HT”, “FT”, “ET”, “PEN”
- incidentClass for “goal”: “penalty”, “regular”, “ownGoal”
- incidentClass for “substitution”: “injury”, null
- incidentClass for “varDecision”: “penaltyNotAwarded”, “goalAwarded”, “cardUpgrade” => confirmed -> true, false
- incidentClass for “inGamePenalty”: “missed”
The description of the match status can be done by:
- Status are are described by the ‘type’ property that provides a code string. The returns are: ‘inprogress’, ‘finished’, ‘postponed’, ‘canceled’, 'notstarted’
- The ‘description’ property returns understandable text of the status. Some returns for football are: ‘1st half’, ‘2nd half’, ‘Halftime’, ‘Ended’, ‘Postponed’, ‘Canceled’, ‘Not started’, “AP”(After Penalties), “AET”(After Extra Time), “1st extra”, “Extra time halftime”, “2nd extra”, “Awaiting penalties”, “Penalties”, “Awaiting extra time”,