Features:
Competitive pricing
No set-up Charges
Over 99.99% Availability
Free Trial Software
Free Technical Support
Try before you buy
Local or Internet Data
Reseller Opportunities
    Postcode finder using data supplied by royal mail
Updated Daily

  Get Nearest Store List using HTTP/XML


This HTTP/XML service is used by our examples included in the download to get either Nearest Store List or Nearest Store List and Google Map.

Prices
"Price of Nearest Store Locator
Learn more >>

The following is included for referance  

video  Demonstration of store locator software Option 2


HTTP/XML APICommon Parameters:


All HTTP/XML API functions have the following common parameters:

NameDescription
LicenseIDYour License ID (Account Number). This is given to you when you open an account with us
ListID1-10, allows you to have multiple data lists.
PasswordPassword to your account
ErrorDescReturns any errors if they occur, other wise “” if OK

For Trail use set to 0. ListID=1 and 2 which are List 1 and 2 on the spreadsheet. When calling these lists the DataKey, LicenseID and Password are ignored. You will NOT be able to update the data in these lists.

 

API Functions


This service provides the following:


Get Nearest List


http://www.simplylookupadmin.co.uk/nearest/GetNearestToPostCodeTemplate.aspx
     ?licenseid=0
     &templateid=1
     &listid=1
     &password=
     &datakey=YOURDATAKEY
     &targetpostcode=PE132QL
     &withinkm=100
     &pagesize=10
     &pageno=1
     &typefilter=
     &extraflags=

HTTP calls should only be made by server side script since they contain your password.

Returns:

If error then returns error description:

<errordesc>"Postcode not found</errordesc>

Else this calls returns the Store List data merged with template, to produce list of stores.


Get List with Google Map


The following generates a list of nearest stores and the code to display a Google map.

http://www.simplylookupadmin.co.uk/nearest/GetNearestToPostcodeMapXML.aspx
     ?licenseid=0
     &templateid=1
     &listid=1
     &password=
     &datakey=YourDataKey
     &targetpostcode=PE132QL
     &withinkm=100
     &pagesize=10
     &pageno=1
     &typefilter=
     &extraflags=
     &nopins=1000
     &mapkey=YourGoogleMapKey
     &zoomlevel=10
     &showcontrols=1
     &showoverview=1
     &showmaptype=1
     &extraflags=

HTTP calls should only be made by server side script since they contain your password.

Returns:

If error then returns error description:

<errordesc>"Postcode not found</errordesc>

Else this call returns both the Store List data merged with template data (list of stores) and the Google map code in XML.   This returned code is then simply displayed on your own page, using your own Google Map key.  

See the PHP or classic ASP example, in the "Nearest Functionality" directory of our example code, to see how to use this.


Get list in XML format


The following generates a list of nearest stores and the code to display a Google map.

http://www.simplylookupadmin.co.uk/nearest/GetNearestToPostCodeXML.aspx
     ?licenseid=0
     &templateid=1
     &listid=1
     &password=
     &datakey=YOURDATAKEY
     &targetpostcode=PE132QL
     &withinkm=100
     &pagesize=10
     &pageno=1
     &typefilter=
     &extraflags=

HTTP calls should only be made by server side script since they contain your password.

Returns:

If error then returns error description:

<errordesc>"Postcode not found</errordesc>

Else this calls returns the Store List data.