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 Next »

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:

<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 when 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 which indicates the ISO language Code and name for sport name in that specified language.


  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.