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:

Base URL /translations_sport

Required fields for this call are sport_id and token.

The API provides the following message:

Code Block
languagexml
<translations_sport timestamp="1613570990894">
  <sport id="1">
    <text lang="de" name="Fußball"/>
    <text lang="en" name="Soccer"/>
    <text lang="es" name="Fútbol"/>
    <text lang="fr" name="Football"/>
    <text lang="it" name="Calcio"/>
    <text lang="pt" name="Futebol"/>
  </sport>
</translations_sport>

...

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

CATEGORY

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

Base URL /translations_category

Required fields for this call are category_id and token.

The API provides the following message:

Code Block
languagexml
<translations_category timestamp="1613570990894">
  <category id="1">
    <text lang="de" name="England"/>
    <text lang="en" name="England"/>
    <text lang="es" name="Inglaterra"/>
    <text lang="fr" name="Angleterre"/>
    <text lang="it" name="Inghilterra"/>
    <text lang="pt" name="Inglaterra"/>
  </category>
</translations_category>

...

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

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 category name in that language(translation)

TOURNAMENT

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

Base URL /translations_tournament

Required fields for this call are tournament_id and token.

The API provides the following message:

Code Block
languagexml
<translations_tournament timestamp="1613570990894">
  <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 timestamp with date and time that message was created.

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

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 tournament name in that language(translation)

COMPETITOR

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

Base URL /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 competitor and tag name which refers name of competitor.

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 competitor name in that language(translation)Here you can get available Translations of provided entity by providing the relative id and token

Page Tree
rootTranslations
startDepth1