Venue ID API: Venue Methods: get_coords

Purpose

This allows any authenticated user to get latitude and longitude coordinates by submitting a postcode and country. This is provided for users who want to use new to submit a new venue but who do not know the latitude and longitude for the venue.

URLs

Live: http://api.ives.info/rest/venues/get_coords

Input

Required Arguments
user_email For authentication
user_password For authentication
postal_code Postcode
country_code Country in uppercase ISO 3166-1 Alpha-2 format

Sample Request
http://api.ives.info/rest/venues/get_coords?user_email=user@domain.com&user_password=fak3passw0rd&postal_code=N1%201TY&country_code=GB

Output

Errors will be returned in the form of an error document.

Sample XML Output
<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
  <latitude>51.5407</latitude>
  <longitude>-0.104967</longitude>
</response>