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 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:
<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:
<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>
Tag sport_tournaments has only one attribute which is timestamp with date and time when message was created.
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:
<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>
Tag tournament_fixtures has only one attribute which is timestamp with date and time when message was created.
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 competitor
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:
<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>
Tag tournament_info has only one attribute which is timestamp with date and time when message was created.
Under that tag there are tags named tournament and competitors. Tag named tournament has ID of tournament and its name. Competitors tag which contains data for all competitors, placed into child competitor tags. Tags competitor have attribute representing ID of competitor and name attribute that represents name of the competitor
If you did request type 2, theer will be attribute type in the response, that refers 0 match, 1 outright
<tournament_info timestamp="1635427976765"> <tournament id="8"/> <competitors> <competitor id="149940" name="Aguero, Sergio" type="1"/> <competitor id="253639" name="Alcacer, Paco" type="0"/>
List of outrights per sport
In order to get list of outrights for provided sport id, POST request is:
Base URL /get_outrights_for_sport
Required fields for this call are sport_id and token.
With the above details the API provides the following message:
<sport_outrights timestamp="1635496900640"> <sport id="1" name="Soccer"/> <categories> <category id="130" name="Northern Ireland"> <fixtures_outright> <fixture id="127190" name="Premiership League - Winner"/> </fixtures_outright> </category> <category id="67" name="Greece"> <fixtures_outright> <fixture id="124748" name="Super League - Winner"/> </fixtures_outright> </category> <category id="131" name="Wales"> <fixtures_outright> <fixture id="126614" name="Wales Premier League - Winner"/> </fixtures_outright> </category> <category id="4" name="International"> <fixtures_outright> <fixture id="91461" name="UEFA Nations League - Winner"/> <fixture id="105326" name="WC Qualification UEFA Group A - Winner"/> <fixture id="105328" name="WC Qualification UEFA Group B - Winner"/> <fixture id="105330" name="WC Qualification UEFA Group C - Winner"/> <fixture id="105334" name="WC Qualification UEFA Group E - Winner"/> <fixture id="105336" name="WC Qualification UEFA Group F - Winner"/> <fixture id="105338" name="WC Qualification UEFA Group G - Winner"/> <fixture id="105340" name="WC Qualification UEFA Group H - Winner"/> <fixture id="105342" name="WC Qualification UEFA Group I - Winner"/> <fixture id="105344" name="WC Qualification UEFA Group J - Winner"/> <fixture id="105532" name="WC Qualification UEFA Group D - Winner"/> <fixture id="105574" name="WC Qualification UEFA - To Qualify from Group A - Portugal"/> <fixture id="105576" name="WC Qualification UEFA - To Qualify from Group A - Serbia"/> <fixture id="105578" name="WC Qualification UEFA - To Qualify from Group A - Ireland"/> <fixture id="105580" name="WC Qualification UEFA - To Qualify from Group A - Luxembourg"/> <fixture id="105582" name="WC Qualification UEFA - To Qualify from Group A - Azerbaijan"/> <fixture id="105584" name="WC Qualification UEFA - To Qualify from Group B - Spain"/> <fixture id="105586" name="WC Qualification UEFA - To Qualify from Group B - Sweden"/> <fixture id="105588" name="WC Qualification UEFA - To Qualify from Group B - Greece"/> <fixture id="105590" name="WC Qualification UEFA - To Qualify from Group B - Georgia"/> <fixture id="105592" name="WC Qualification UEFA - To Qualify from Group B - Kosovo"/> <fixture id="105594" name="WC Qualification UEFA - To Qualify from Group C - Italy"/> <fixture id="105596" name="WC Qualification UEFA - To Qualify from Group C - Switzerland"/> <fixture id="105598" name="WC Qualification UEFA - To Qualify from Group C - Northern Ireland"/> <fixture id="105600" name="WC Qualification UEFA - To Qualify from Group C - Bulgaria"/> <fixture id="105602" name="WC Qualification UEFA - To Qualify from Group C - Lithuania"/> <fixture id="105604" name="WC Qualification UEFA - To Qualify from Group D - France"/> <fixture id="105606" name="WC Qualification UEFA - To Qualify from Group D - Ukraine"/> <fixture id="105608" name="WC Qualification UEFA - To Qualify from Group D - Finland"/> <fixture id="105610" name="WC Qualification UEFA - To Qualify from Group D - Bosnia and Herzegovina"/> <fixture id="105612" name="WC Qualification UEFA - To Qualify from Group D - Kazakhstan"/> <fixture id="105614" name="WC Qualification UEFA - To Qualify from Group E - Belgium"/> </fixtures_outright> </category> </categories> </sport_outrights>
Tag sport_outrights has only one attribute which is timestamp with date and time when message was created.
Under that tag there are tags named sport and categories. Tag named sport has ID of sport and its name. Categories that contains tags category with attributes id and name. Under each category is placed fixtures_outright tag, then all outrights are listed as fixture tag with attributes id and name.
Add Comment