|
|
Chain API
REST Request
http://api.kidseatfor.com/api/v1/[api_key]/chain/nearby/[chain_id]/[latitude]/[longitude]/[min_distance]/[max_distance]/[location_query]
Parameters
[api_key] |
The API Key provided. This should always be the same value. |
[chain_id] |
The unique ID of the chain to retrieve deals in. |
[latitude] |
The latitude to use as the origin of the search. |
[longitude] |
The longitude to use as the origin of the search. |
[min_distance] |
Minimum distance (in miles) to use in the search. |
[max_distance] |
Maximum distance (in miles) to use in the search. |
[location_query] |
This parameter is optional and can be omitted.
The location to search near. This can be a postal code, a city, state, a landmark, etc. |
Samples
Retrieve all deals (locations) of chain 100 near Phoenix, AZ
http://api.kidseatfor.com/api/v1/mykey/chain/nearby/100/0/0/0/40/Phoenix
|