AllSportsApi

부분 유료
분류별 REcodeX | 업데이트됨 23 days ago | Sports
인기

9.9 / 10

지연 시간

511ms

서비스 수준

100%

Health Check

100%

모든 자습서로 돌아가기 (19)

Status and Incidents

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”,