API / Developers
Developer Center

Search API


REST Request
http://api.kidseatfor.com/api/v1/[api_key]/search/[what]/[query]/[param1]/[param2]/[param3]/[param4]


Parameters

[api_key] The API Key provided. This should always be the same value.
[what] One of "location" or "restaurant".
[query] The search query.
[param1] If [what] = location then param1 is minimum distance in miles to search.
If [what] = location then param1 is the starting latitude.
[param2] If [what] = location then param2 is maximum distance in miles to search.
If [what] = location then param2 is the starting longitude.


Samples
List all kids eat free deals within 20 miles of the center of Hilliard, OH
http://api.kidseatfor.com/api/v1/mykey/search/location/Hilliard%20,OH/0/20

List all kids eat free deals for Boston Market near Alexandria, VA
http://api.kidseatfor.com/api/v1/mykey/search/restaurant/Boston%20Market/38.7737/-77.0811