Versions Compared

Key

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

...

The API provides the following message:

Code Block
<translations_sport timestampid="1613570990894sport:1">   <sport idtimestamp="11648805029970">
    <text	<translation lang="de" name="FußballFußbal"/>
	<translation    <text lang="en" name="Soccer"/>
    <text	<translation lang="es" name="Fútbol"/>
    <text	<translation lang="fr" name="Football"/>
    <text	<translation lang="it" name="Calcio"/>
    <text	<translation 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 & 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.

...