When requesting a list of player markets per sport, POST request is:
Base URL /get_player_markets_per_sport
Required fields field for this call are is the sport_idand token.
With the above details the API provides the following message:
Code Block |
---|
<player_markets timestamp="16143604928331648805983001"> <sport id="1" name="Soccer"/> <goalscorers> <markets> <market id="1" name="First Goal"/> <market id="2" name="Any Time"/> <market id="13" name="FirstLast Goal"/> <market id="4" name="2 Or More"/> <market id="25" name="Any TimeHat-Trick"/> <market id="7" name="1st or Last"/> <market id="317" name="Last15 GoalMinutes"/> <market id="18" name="1st Half"/> </goalscorers> <assists> <market id="421" name="2 Or More"Assist"/> </assists> <cards> <market id="23" name="Card"/> <market id="24" name="Yellow Card"/> <market id="525" name="Hat-TrickRed Card"/> </cards> <shots> <market id="731" name="1stAt orLeast Last1"/> <market id="32" name="At Least 2"/> <market id="1733" name="15At Least Minutes3"/> <market id="34" name="At Least 4"/> <market id="1835" name="1stAt Least Half5"/> </markets>shots> </player_markets> |
Tag player_markets has only one attribute which is timestamp with date and time when message was created.
Under that tag there is a tag named sport that has ID of sport and its name, and tag markets tags with each type of player market which contains data for all outcomes placed into child market tags.
...