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_category

Required fields for this call are category_id and token.

The API provides the following message:

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

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

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

  • No labels