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

« Previous Version 4 Current »

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

Base URL /translation_sport

Required field for this call is the sport_id

The API provides the following message:

<translations id="sport:1" timestamp="1648805029970">
	<translation lang="de" name="Fußbal"/>
	<translation lang="en" name="Soccer"/>
	<translation lang="es" name="Fútbol"/>
	<translation lang="fr" name="Football"/>
	<translation lang="it" name="Calcio"/>
	<translation lang="pt" name="Futebol"/>
</translations>

Tag translations has attributes sport id & timestamp.

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

  • No labels