...

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

Code Block
<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 hasonly 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