Period scores
The period scores element and its sub-element period score are present in the summary end point and in the timeline end point and they are extremely significant as they report the resulting for the match.
This is a useful information for those matches which are not covered live.
Here follows an example of period scores.
<period_scores> <period_score home_score="0" away_score="0" match_status_code="6" type="regular_period" number="1"/> <period_score home_score="1" away_score="1" match_status_code="7" type="regular_period" number="2"/> <period_score home_score="1" away_score="1" match_status_code="40" type="overtime" number="3"/> <period_score home_score="3" away_score="5" match_status_code="50" type="penalties" number="4"/> </period_scores>
Each period score element provides info about the outcome of a part of the match which can be different according to the sport. The example provides the resulting of a soccer match with 2 regular half times and over time and penalties with related scores.
Table below provides info related to the attributes in the period_score element.
home_score
score of the home team at a certain period of the match
number
numeric
away_score
score of the away team at a certain period of the match
number
numeric
match_status_code
code of the match status
6,7,40,50
numeric
In the period_score the match_status_code can assume just values of "overtime", "penalties" and in all other cases it will be "regualar_period"
type
description of the period
"regular_period"
"overtime"
"penalties"
string
number
number of the period
number
numeric
Was this helpful?