Welcome!  English (US) Language Switcher

Description

Retrieves a list of locations.

Authentication

This method requires authentication with read permissions.

Arguments

api_key (Required)
Your API application key. See here for more details.

Example Response

<locations>
  <location id="987654321" name="Berlin" longitude="13.411508"
          latitude="52.524008" zoom="9" address="Berlin, Germany" viewable="1"/>
  <location id="987654322" name="New York" longitude="-74.00713"
          latitude="40.71449" zoom="9" address="New York, NY, USA" viewable="1"/>
  <location id="987654323" name="Sydney" longitude="151.216667"
           latitude="-33.8833333" zoom="7"
           address="Sydney, New South Wales, Australia" viewable="1"/>
  ...
</locations>

Error Codes

98: Login failed / Invalid auth token
The login details or auth token passed were invalid.
100: Invalid API Key
The API key passed was not valid or has expired.
105: Service currently unavailable
The requested service is temporarily unavailable.
111: Format "xxx" not found
The requested response format was not found.
112: Method "xxx" not found
The requested method was not found.
114: Invalid SOAP envelope
The SOAP envelope sent in the request could not be parsed.
115: Invalid XML-RPC Method Call
The XML-RPC request document could not be parsed.