Table of Contents

General information

Optional parameter “maxLines” - determines the number of lines given in answer.

Default value is 10.

Inquiry

<?xml version="1.0"?>
<mds>
  <auth>
    <login>LOGIN</login>
    <pass>PASSWORD</pass>
  </auth>
  <request>
    <type>citySearchByName</type>
    <conditions>
      <name>Wro</name>
      <maxLines>10</maxLines>
    </conditions>
  </request>
</mds> 

Answer

<response>
  <item>
    <cityName>Wrocław (Dolnośląskie), Polska</cityName>
    <cityId>3</cityId>
    <lat>51.110362</lat>
    <lng>17.031135</lng>
  </item>
</response>
 
 
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki