All sports list
When requesting a list of all available sports, POST request is:
Required fields for this call is just token.
With the above details the API provides the following message:
<sports timestamp="1613659627976"> <sport id="1" name="Soccer"/> <sport id="2" name="Basketball"/> <sport id="3" name="Baseball"/> <sport id="4" name="Ice Hockey"/> <sport id="5" name="Tennis"/> <sport id="6" name="Handball"/> <sport id="7" name="Floorball"/> <sport id="9" name="Golf"/> <sport id="10" name="Boxing"/> <sport id="11" name="Motorsport"/> <sport id="12" name="Rugby"/> <sport id="13" name="Aussie Rules"/> <sport id="14" name="Winter Sports"/> <sport id="15" name="Bandy"/> <sport id="16" name="American Football"/> </sports>
Tag sports has only one attribute which is timestamp with date and time that message was created.
Under that tag there is a tag named sport that has ID of sport and its name.
All categories per sport list
When requesting a list of all categories, POST request is:
Base URL /get_categories_for_sport
Required fields for this call are sport_id and token.
With the above details the API provides the following message:
<sport_categories timestamp="1613659767685"> <sport id="5" name="Tennis"/> <categories> <category id="3" name="ATP"/> <category id="72" name="Challenger"/> <category id="2138" name="Electronic Leagues"/> <category id="79" name="Exhibition"/> <category id="785" name="ITF Men"/> <category id="213" name="ITF Women"/> <category id="2109" name="Other"/> <category id="2157" name="Simulated Reality"/> <category id="2158" name="Simulated Reality Women"/> <category id="6" name="WTA"/> </categories> </sport_categories>
Tag sport_categories has only one attribute which is timestamp with date and time that message was created.
Under that tag there is a tag named sport that has ID of sport and its name.
Then, there is tag categories that contains tags category with attributes id and name.
Add Comment