...
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:
Code Block |
---|
<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.