Sport specific information for Cricket. Sport specific XML elements and attributesThis section explains what elements / attributes one can expect for cricket matches in addition to the standard elements and attributes. Code Block |
---|
language | xml |
---|
title | XML example |
---|
| <BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" type="scoutmatch" timestamp="1413534449872" time="0" status="
betstart">
<Match dismissals_away="0" dismissals_home="1" over="2" innings="1" penalty_runs_away="0" penalty_runs_home="0" delivery="1"
status="1i_ht" score="6:0" msgnr="17" matchid="1616800" betstatus="started" active="1"/>
</BetradarLiveOdds> |
XML attributes definition Element | Attributes |
---|
| Attribute | Description | Possible values | Match | dismissals_home | Amount of dismissals of the home team in the current innings. | Number in range [0,10] | dismissals_away | Amount of dismissals of the away team in the current innings. | Number in range [0,10] | penalty_runs_home | How many penalty runs the home team has. This attribute needs to be enabled in the XML configuration, | Number >= 0 | Penalty_runs_away | How many penalty runs the away team has. This attribute needs to be enabled in the XML configuration, | Number >= 0 | innings | What innings it is. | Number in range [1,2] Note that the second innings can also be superover. | over | What over in the innings it is. | A number > 0 The first over will have value 1, please note this is different from the Cricket convention which would start counting at zero. | delivery | Which ball delivery in the over it is. | Number in range [1,6] |
XML configurationsSport specific XML configurations for cricket. (ID: 96) Include penalty runs in cricketEnabling this setting will add the attributes penalty_runs_home and penalty_runs_away to the Match element for cricket matches. Code Block |
---|
language | xml |
---|
title | XML example |
---|
| <BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" timestamp="1413534449872" time="0" status="betstart">
<Match dismissals_away="0" dismissals_home="1" over="2" innings="1" penalty_runs_away="0" penalty_runs_home="0" delivery="1"
status="1i_ht" score="6:0" msgnr="17" matchid="1616800" betstatus="started" active="1"/>
</BetradarLiveOdds> |
XML attributes definition Element | Attributes |
---|
| Attribute | Description | Possible values | Match | penalty_runs_home | How many penalty runs the home team has. | Number >= 0 | penalty_runs_away | How many penalty runs the away team has. | Number >= 0 |
(ID: 98) Multiple bets of same type active at once for Cricket matchesThe Live Odds system selects the most balanced bet (line, spread, etc) out of all available ones for each market, and only this one will be sent out to the client system. Enabling this setting will allow multiple bets of the same type to be sent out at once, not only the most balanced ones. E.g. for the total market in soccer the most balanced line would be 2.5. When enabling the setting, total 1.5 and 3.5 would be sent as well. Match statusesID | Status | Status description | Additional information |
---|
0 | not_started | Not started yet | - | 501 | 1i_ht | First innings, home team | - | 502 | 1i_at | First innings, away team | - | 503 | 2i_ht | Second innings, home team | - | 504 | 2i_at | Second innings, away team | - | 505 | awaiting_so | Awaiting super over | - | 506 | so_ht | Super over, home team | - | 507 | so_at | Super over, away team | - | 508 | after_so | After super over | - | 509 | innings_break | Innings break | - | 510 | so_break | Super over break | - | 511 | lunch_break | Lunch break | - | 512 | tea_break | Tea break | - | 513 | stumps | Stumps | - | 100 | ended | The match has ended | - | 80 | interrupted | The match has been interrupted | - | 90 | abandoned | The match has been abandoned | Status controlled by XML configuration. |
|