To get translations of provided competitor, use this POST request:
Base URL /name_translation_competitor_match for Match
Base URL /translation_competitor_outright for Outright
Required field for this call is the competitor_id
The API provides the following message:
Code Block |
---|
<translations_competitor timestampid="1614672330131competitor:2687"> <competitor idname="52874Juventus Turin" nametimestamp="Red Star FC1648804143706"> <text <translation lang="de" name="RedJuventus Star FCTurin"/> <text <translation lang="en" name="RedJuventus Star FCTurin"/> <text <translation lang="es" name="RedJuventus Star FCTurĂn"/> <text <translation lang="fr" name="RedJuventus Star FCTurin"/> <text <translation lang="it" name="Red StarJuventus"/> <text <translation lang="pt" name="Red StarJuventus FC 93"/> </competitor> </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, 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 competitor name in that specified language.