/
Match

Match

You can request a list of competitors per tournament from all matches, POST request is:

Base URL /get_competitors_match_for_tournament

Required field for this call is the tournament_id

With the above details the API provides the following message:

<tournament_info timestamp="1648809462821"> <tournament id="8"/> <competitors> <competitor id="2825" name="Athletic Bilbao"/> <competitor id="2836" name="Atletico Madrid"/> <competitor id="2820" name="CA Osasuna"/> <competitor id="4488" name="Cadiz CF"/> <competitor id="2885" name="Deportivo Alaves"/> <competitor id="2846" name="Elche CF"/> <competitor id="2814" name="Espanyol Barcelona"/> <competitor id="2817" name="FC Barcelona"/> <competitor id="2859" name="Getafe CF"/> <competitor id="33779" name="Granada CF"/> <competitor id="2849" name="Levante UD"/> <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="2829" name="Real Madrid"/> <competitor id="2824" name="Real Sociedad San Sebastian"/> <competitor id="2833" name="Sevilla FC"/> <competitor id="2828" name="Valencia CF"/> <competitor id="2819" name="Villarreal CF"/> </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

Related content

Sport
Read with this
Outright
Outright
More like this
Alive Messages
Alive Messages
Read with this
Matches List
Matches List
More like this
Categories List
Categories List
Read with this
Tournaments List
Tournaments List
More like this