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:
<translations_competitor timestamp="1614672330131"> <competitor id="52874" name="Red Star FC"> <text lang="de" name="Red Star FC"/> <text lang="en" name="Red Star FC"/> <text lang="es" name="Red Star FC"/> <text lang="fr" name="Red Star FC"/> <text lang="it" name="Red Star"/> <text lang="pt" name="Red Star FC 93"/> </competitor> </translations_competitor>
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 all languages placed into child text tags. Tags text have attribute lang which indicates the ISO language Code and name for sport name in that specified language
0 Comments