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:

...

Tag sports has only one attribute which is timestamp with date and time that 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:

...

Tag sport_categories has only one attribute which is timestamp with date and time that 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:

...

Tag sport_tournaments hasonly one attribute which is timestamp with date and time that 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:

...

Tag tournament_fixtures hasonly one attribute which is timestamp with date and time that 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 placed 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