Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

All sports list

When requesting a list of all available sports, POST request is:

Base URL /get_all_sports

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 that message was created.

Under that tag there is a tag named sport that has ID of sport and its name.Here you can get available data for each Sport, Category, Tournament, MAtch, Outright and Competitors by providing the relative id and token

Page Tree
rootSport Event Information
startDepth1