Get the online ordering status given a location.

Parameters

Parameter Name Required Description
key Api Key Required The api key that was generated from
format Output Format Optional Can be set to "XML' or 'JSON' depending on which output format you want to use.
Default: XML
count Number of results Optional The number of restaurants that you wish to be returned
Default: 25
page Page Number Optional Which page you want to display, e.g. If your count is 25 and your page is 2 you will get results 25-50
Default: 1
addr Address Optional URL Encoded Address
NOTE: Either 'addr' or 'lat' and 'lon' have to be set.
lat Latitude Optional Latitude of the user.
NOTE: Either 'addr' or 'lat' and 'lon' have to be set.
lon Longitude Optional Longitude of the user.
NOTE: Either 'addr' or 'lat' and 'lon' have to be set.
estid Establishment ID Optional Limit the scope of the restaurant search to one specific restaurant. If delivery is not available to the given location from this restaurant it will return nothing.
type Type of Ordering Optional Can be 'pickup' or 'delivery'.
Default: delivery
driveRadius Maximum amount of kilometers away from the given user location Optional: Type = PICKUP only Integer value in kilometers.
Default: 50km

Examples

  1. Get all delivery boundaries for the address "28 Wood St. Toronto, ON".

    http://singleapp.com/api/order.php?format=json&key=YOUR_KEY_HERE&addr=28%20Wood%20St.%20Toronto%2C%20ON

Example JSON Output

The following is an example of output for the query

http://singleapp.com/api/order.php?format=json&key=YOUR_KEY_HERE&addr=28%20Wood%20St.%20Toronto%2C%20ON