url | www.emplacementapi.com/api/Locations?key=[YOUR_API_KEY]&zip=92078 |
Returns | Locations within 5 Miles of 92078 |
Note | Radius has used the default value of 5 |
url | www.emplacementapi.com/api/Locations?key=[YOUR_API_KEY]&lat=33.11&lng=-117.16&radius=20 |
Returns | Locations within 20 Miles of coordinate 33.11,-117.16 |
Note | Demonstrates how a users GPS Location could be used to find locations within a certain radius |
Params | Key |
Note | API Key is REQUIRED to make Location requests |
Params | (Lat AND Lng) OR Zip |
Note | Either Lat,Lng OR a zip is required to make Location requests |
Param | (?/&)Key=[YOUR_API_KEY] |
Usage | API Key is used to authenticate user |
Param | (?/&)Zip=[ZIP_CODE] |
Usage | Defines search area's zip code |
Param | (?/&)Lat=[LATITUDE] |
Usage | Defines search area's Latitude coordinate |
Param | (?/&)Lng=[LONGITUDE] |
Usage | Defines search area's Longitude coordinate |
Param | (?/&)Radius=[RADIUS] |
Usage | Defines how large of an area to search |
Default | 5 |
Min_Value | 5 |
Max_Value | 50 |