Versions Compared

Key

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

...

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

http://ksrv05.oddsandmore.com:8991Base URL /translations_category

Required fields for this call are category_id and token.

...

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

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

Required fields for this call are tournament_id and token.

...

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)

...

COMPETITOR

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

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

Required fields for this call are competitor_id and token.

The API provides the following message:

Code Block
languagexml
<translations_competitor timestamp="1614672330131">
<competitor id="52874" name="Red Star FC">
<text lang="de" name="Red Star FC"/>
<text lang="en" name="Red Star FC"/>
<text lang="es" name="Red Star FC"/>
<text lang="fr" name="Red Star FC"/>
<text lang="it" name="Red Star"/>
<text lang="pt" name="Red Star FC 93"/>
</competitor>
</translations_competitor>

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

Under that tag there is a tag named competitor 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)