Versions Compared

Key

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

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

Base URL /translationstranslation_category

Required field for this call is the category_id

The API provides the following message:

Code Block
<translations_category timestamp id="category:31" name="1613570990894Italy">   <category idtimestamp="11648805133842">
	<translation    <text lang="de" name="EnglandItalien"/>
	<translation    <text lang="en" name="EnglandItaly"/>
	<translation    <text lang="es" name="InglaterraItalia"/>
    <text	<translation lang="fr" name="AngleterreItalie"/>
    <text	<translation lang="it" name="InghilterraItalia"/>
	<translation    <text lang="pt" name="InglaterraItália"/>
 
</category>
</translations_category>translations>

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 has attributes category id, name & timestamp.

Inside there are all languages placed into child text tranalsation tags. Tags text translation have attribute lang which indicates the ISO language Code and name for sport category name in that specified language.

...