Tournament_round
Before providing details about the tournament_round element it might be useful to provide an overview of the structure of tournaments, season, simple tournaments and matches.
Figure below provides a good overview:
The tournament is in most cases the recurrent competition. The Season is the yearly periodical edition of the competition. Tournament_round can be a Group, a Cup or a Qualification. The three of them are also classified as simple tournaments which can be seen as micro tournament inside the season.
After the overview on the structure of the competition elements we can proceed to analyse the attributes of the tournament_round element.
Here follow some examples of the tournament round element:.
<tournament_round type="group" number="2" group="A" group_id="sr:group:59594" group_long_name="UEFA Champions League, Group A" betradar_id="1462"/>
<tournament_round type="cup" name="round_of_16" cup_round_match_number="2" cup_round_matches="2" other_match_id="sr:match:28795874" phase="playoffs" betradar_id="62144"/>
Table below shows the list and meaning of attributes in the Tournament_round element (in red in the first example above):
type
The element tournament_round describes what cup stage or round the match is. In case the match has a cup round assigned to it, it will at least get type "cup", if it also has cup round name "cupqround" it will get type "qualification". All other matches will get type "group"
group
cup
qualification
group
Specifies which group, league of the tournament the match belongs in.
Value of the group is a string and depends on the kind of tournament (see example above)
number
This attribute is present only if type="group" and displays the round number.
Integer number
group_id
Unique id of the group.
The id of the group can be used for example in the tournament end point inserting the id of the group in the simple_tournament filter.
The description of the simple_tournament corresponds to the description of the group.
Example:
group_id="sr:group:44700"
group_long_name
Name of the tournament the group belongs in.
Value of the group_long_name is a string and depends on the kind of tournament (see example above)
betradar_id
Unique id of the tournament_round to be filtered as well as simple_tournament in the tournament end point.
Example:
betradar_id="94493"
cup_round_matches
Number of matches that will be played for this cup round only shown if it's more than 1.
Number
cup_round_match_number:
Match number of the cup round, only shown if cup_round_matches is more than 1.
Number
other_match_id
The other match, only shown if cup_round_matches is more than 1.
Match id
phase
Which phase of the tournament the match is in i.e
Regular season, Relegation playoffs, Pre-seasonexamples
Was this helpful?