To get translations of provided category, use this POST request:
Base URL /translation_tournament
Required field for this call is the tournament_id
The API provides the following message:
<translations_tournament timestamp="1613570990894"> <tournament id="1"> <text lang="de" name="Europameisterschaft"/> <text lang="en" name="Euro Cup"/> <text lang="es" name="Eurocopa"/> <text lang="fr" name="Championnat d'Europe"/> <text lang="it" name="Europei"/> <text lang="pt" name="Campeonato Europeu"/> </tournament> </translations_tournament>
Tag translations_tournament has only one attribute which is timestamp with date and time when message was created.
Under that tag there is a tag named tournament that has ID of tournament.
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