Versions Compared

Key

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

SPORT

To get translations of provided sport, use this POST request:

...

Then there are data for all languages placed into child text tags. Tags text have attribute lang for short name of the language and name for sport name in that language(translation)

...

CATEGORY

To get translations of provided category, use this POST request:

...

Under that tag there is a tag named category that has ID of sport.

Then there are data for all languages placed into child text tags. Tags text have attribute lang for short name of the language and name for sport name in that language(translation)

...

TOURNAMENT

To get translations of provided category, use this POST request:

http://ksrv05.oddsandmore.com:8991/translations_tournament

Required fields for this call are tournament_id and token.

The API provides the following message:

Code Block
languagexml
<translations_tournament generated_at="2021-02-02T09:05:51+0000">
  <tournament id="1">
    <text lang="de" name="Europameisterschaft"/>
    <text lang="en" name="Euro Cup"/>
    <text lang="es" name="Eurocopa"/>
    <text lang="fr" name="Championnat d'Europe"/>
    <text lang="it" name="Europei"/>
    <text lang="pt" name="Campeonato Europeu"/>
  </tournament>
</translations_tournament>

Tag translations_tournament has only one attribute which is generated_at with date and time that message was created.

Under that tag there is a tag named tournament that has ID of sport.

Then there are data for all languages placed into child text tags. Tags text have attribute lang for short name of the language and name for sport name in that language(translation)

...