To get translations of provided competitor, use this POST request:
Base URL /name_translation_competitor
Required field for this call is the competitor_id
The API provides the following message:
Code Block |
---|
<translations_competitor id="competitor:2687" timestamp="16146723301311648804143706"> <competitor <translation idlang="52874de" name="RedJuventus Star FCTurin"/> <text <translation lang="de" name="Juventus Turin"/> <translation lang="en"Red Star FCname="Juventus Turin"/> <text <translation lang="en" name="Red Star FCJuventus Turin"/> <translation lang="es" name="Juventus Turín"/> <text <translation lang="es" name="Red Star FCJuventus Turín"/> <translation lang="fr" name="Juventus Turin"/> <text <translation lang="fr" name="Red Star FC"Juventus Turin"/> <translation lang="it" name="Juventus"/> <text <translation lang="it" name="Red StarJuventus"/> <text <translation lang="pt" name="Red StarJuventus FC 93"/> </competitor> <translation lang="pt" name="Juventus FC"/> </translations_competitor>translations> |
Tag translations _competitor has only one attribute which is timestamp with date and time when message was created.
Under that tag there is a tag named competitor that has ID of competitor and tag name which refers to name of competitor.
Then there are data for has attributes competitor 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 competitor name in that specified language.