Scores

Field Definitions

FieldTypeDescription
fixture_idintegerUnique identifier for the specific match/event.
team_idintegerUnique identifier for the team the score belongs to.
valueintegerThe numerical score/goals recorded for the period.
developer_nameenumA machine-readable string identifying the time period.

Developer Name Values

The developer_name field uses the following constant values to describe the match state:

ValueDescription
1ST_HALFTotal goals scored during the first half.
2ND_HALFThe total score at the end of the second half.
2ND_HALF_ONLYGoals scored exclusively during the second half period.
ET_1ST_HALFGoals scored during the first period of extra time.
ET_2ND_HALFGoals scored during the second period of extra time.
ETTotal score at the conclusion of all extra time periods.
PENALTY_SHOOTOUTTotal successful penalties recorded in a shootout.
CURRENTThe total live score for the team at the current moment.

Example Implementation

{
  "scores": [
    {
      "fixture_id": 1033370,
      "team_id": 3585,
      "value": 2,
      "developer_name": "1ST_HALF"
    },
    {
      "fixture_id": 1033370,
      "team_id": 3585,
      "value": 4,
      "developer_name": "CURRENT"
    }
  ]
}