Optional parameter “language” - determines the language in which they will be given an answer regardless of what language was entered in the desired name.
Supported languages
code | language |
---|---|
PL | Polish (default) |
CZ | Czech |
DE | German |
EN | English |
HU | Hungarian |
IT | Italian |
LT | Lithuanian |
RO | Romanian |
RU | Russian |
<?xml version='1.0'?> <mds> <auth> <login>LOGIN</login> <pass>PASSWORD</pass> </auth> <request> <type>citySearchByName</type> <conditions> <name>Wroc</name> <language>LT</language> </conditions> </request> </mds>
<response> <item> <cityName>Vroclavas (Dolnoslaskie), Lenkija</cityName> <cityId>3</cityId> <lat>51.110362</lat> <lng>17.031135</lng> </item> </response>