Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

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:

<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.

  • No labels