Versions Compared

Key

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

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

Base URL /translationstranslation_sport

Required fields field for this call are is the sport_idand token.

The API provides the following message:

Code Block
<translations_sport timestamp id="sport:1" name="1613570990894Soccer">   <sport idtimestamp="11648805029970">
	<translation    <text lang="de" name="FußballFußbal"/>
    <text	<translation lang="en" name="Soccer"/>
    <text	<translation lang="es" name="Fútbol"/>
    <text	<translation lang="fr" name="Football"/>
    <text 	<translation lang="it" name="Calcio"/>
	<translation    <text lang="pt" name="Futebol"/>
 
</sport>
</translations_sport>translations>

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

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

Then there are data for has attributes sport 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 name in that specified language.

...