Locations
Get saved coordinates by location ID
Retrieve an existing PurpleGrain location using its location ID. Returns latitude (lat), longitude (lon) and accuracy. Use the location ID associated with an address, city or other resource; this is a saved-coordinate lookup, not an address search. It does not change data.
get/locations/{id}
Request
- Base URL: https://api.purplegrain.com/api/v1
- URL: https://api.purplegrain.com/api/v1/locations/{id}
- Auth: none declared
Path parameters
idstring required
ID of an existing PurpleGrain location.
Response
Successful.
Example response
{
"data": {
"type": "location"
}
}Changes
No recorded changes to this operation across all 3 revisions of this API.