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:
Code Block |
---|
<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 when 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:
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 when 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.
All tournaments per sport list
When requesting a list of all tournaments, POST request is:
Base URL /get_tournaments_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_tournaments timestamp="1613741505909">
<sport id="2" name="Basketball"/>
<categories>
<category id="Albania" name="837">
<tournaments>
<tournament id="19386" name="Group A"/>
</tournaments>
</category>
<category id="Argentina" name="264">
<tournaments>
<tournament id="1680" name="LNB"/>
<tournament id="17817" name="Liga Argentina"/>
<tournament id="50209" name="Liga de Desarrollo"/>
<tournament id="56493" name="Torneo Federal"/>
</tournaments>
</category>
<category id="Armenia" name="1670">
<tournaments>
<tournament id="78746" name="Armenian Cup"/>
</tournaments>
</category>
<category id="Australia" name="113">
<tournaments>
<tournament id="1506" name="WNBL"/>
<tournament id="1524" name="NBL"/>
</tournaments>
</category>
<category id="Austria" name="170">
<tournaments>
<tournament id="297" name="Bundesliga"/>
<tournament id="300" name="AWBL"/>
<tournament id="1470" name="Cup"/>
<tournament id="140000596" name="Abl"/>
</tournaments>
</category>
</categories>
</sport_tournaments> |
...
Under that tag there are tags named sport and categories. Tag named sport has ID of sport and sport name. Tag categories contains tags category with attributes id and name.
Under category is tag tournaments that contains tags tournament with attributes id and name.
All matches per tournament and number of days list
When requesting a list of upcoming matches, POST request is:
Base URL /get_fixtures_for_tournament
Required fields for this call are tournament_id, days and token.
With the above details the API provides the following message:
Code Block |
---|
<tournament_fixtures timestamp="1613747295271">
<tournament id="18" name="Championship"/>
<fixtures_fixture>
<fixture id="match:23217017" start_time="2021-02-19T19:45:00+0000">
<sport id="1" name="Soccer"/>
<category id="1" name="England"/>
<competitors>
<competitor id="24" name="Watford FC"/>
<competitor id="27" name="Derby County"/>
</competitors>
</fixture>
<fixture id="match:23216999" start_time="2021-02-20T12:30:00+0000">
<sport id="1" name="Soccer"/>
<category id="1" name="England"/>
<competitors>
<competitor id="11" name="Coventry City"/>
<competitor id="50" name="Brentford FC"/>
</competitors>
</fixture>
<fixture id="match:23216995" start_time="2021-02-20T15:00:00+0000">
<sport id="1" name="Soccer"/>
<category id="1" name="England"/>
<competitors>
<competitor id="58" name="Bristol City"/>
<competitor id="23" name="Barnsley"/>
</competitors>
</fixture>
</fixtures_fixture>
</tournament_fixtures> |
...
Under that tag there are tags named tournament and fixtures_fixture. Tag named tournament has ID of tournament and its name. Tag fixtures_fixture contains tags fixture.
Tag fixture contains all relevant information of a match, attributes match id and start time for that match..
...
All competitors per tournament
You can request a list of competitors per tournament from all matches, outrights, or both, all competitors from matches and outrights. POST request is:
Base URL /get_competitors_for_tournament
Required fields for this call are tournament_id, type and token.
type refers:
0 - to get list of competitors under matches
1 - to get list of competitors under outrights
2 - to get list of competitors from both matches and outrights
With the above details the API provides the following message:
Code Block |
---|
<tournament_info timestamp="1635427976765">
<tournament id="8"/>
<competitors>
<competitor id="149940" name="Aguero, Sergio"/>
<competitor id="253639" name="Alcacer, Paco"/>
<competitor id="344864" name="Asensio, Marco"/>
<competitor id="176972" name="Aspas, Iago"/>
<competitor id="2825" name="Athletic Bilbao"/>
<competitor id="2836" name="Atletico Madrid"/>
<competitor id="176974" name="Bacca, Carlos"/>
<competitor id="175694" name="Bale, Gareth"/>
<competitor id="149950" name="Benzema, Karim"/>
<competitor id="177122" name="Braithwaite, Martin"/>
<competitor id="2820" name="CA Osasuna"/>
<competitor id="4488" name="Cadiz CF"/>
<competitor id="2846" name="CF Elche"/>
<competitor id="371516" name="Correa, Angel"/>
<competitor id="176830" name="de Jong, Luuk"/>
<competitor id="495212" name="de Oliveira Junior, Vinicius"/>
<competitor id="678739" name="de Tomas Gomez, Raul"/>
<competitor id="286233" name="Dembele, Ousmane"/>
<competitor id="273209" name="Depay, Memphis"/>
<competitor id="2885" name="Deportivo Alaves"/>
<competitor id="363196" name="Diaz, Mariano"/>
<competitor id="372534" name="Gomez, Maximiliano"/>
<competitor id="33779" name="Granada CF"/>
<competitor id="33779" name="Granada CF"/>
<competitor id="175724" name="Griezmann, Antoine"/>
<competitor id="149976" name="Hazard, Eden"/>
<competitor id="495220" name="Iglesias, Borja"/>
<competitor id="469243" name="Isak, Alexander"/>
<competitor id="176782" name="Joselu"/>
<competitor id="446097" name="Jovic, Luka"/>
<competitor id="758826" name="Llorente, Marcos"/>
<competitor id="597786" name="Machis, Darwin"/>
<competitor id="617658" name="Marti, Roger"/>
<competitor id="617660" name="Mata Arnaiz, Jaime"/>
<competitor id="495218" name="Mina Lorenzo, Santiago"/>
<competitor id="833404" name="Mir, Rafa"/>
<competitor id="495208" name="Moreno, Gerard"/>
<competitor id="752983" name="Ocampos, Lucas Ariel"/>
<competitor id="2818" name="Rayo Vallecano"/>
<competitor id="2821" name="RC Celta de Vigo"/>
<competitor id="2826" name="RCD Mallorca"/>
<competitor id="2816" name="Real Betis Seville"/>
<competitor id="2833" name="Sevilla FC"/>
<competitor id="150048" name="Soldado Rillo, Roberto"/>
<competitor id="593778" name="Soler, Carlos"/>
<competitor id="150052" name="Suarez, Luis"/>
<competitor id="344902" name="Williams, Inaki"/>
</competitors>
</tournament_info> |
...
Under that tag there are tags named tournament and fixtures_fixture. Tag named tournament has ID of tournament and its name. Tag fixtures_fixture contains tags fixture.
Tag fixture contains all relevant information of a match, attributes match id and start time for that match..
Inside it are tags sport which have ID and name for sport,and competitors tag which contains data for both competitors, placed into child competitor tags. Tags competitor have attribute representing ID of competitor and name attribute that represents name of the competitorHere you can get available data for each Sport, Category, Tournament, MAtch, Outright and Competitors by providing the relative id and token
Page Tree | ||||
---|---|---|---|---|
|