get https://api.humanapi.co/v1/human/locations
Get the user’s location at a specific point in time.
Returns a locations readings
GET https://api.humanapi.co/v1/human/locations
Response Properties
Property | Type | Description |
---|---|---|
id | String | The id of the resource. |
userId | String | [deprecated - use humanId] |
humanId | String | Unique user identifier |
startTime | Date | The start time of the activity in UTC time |
endTime | Date | The end time of the activity in UTC time |
tzOffset | String | The offset from UTC time in +/-hh:mm (e.g. -04:00) |
name | String | The name of the place |
source | String | The source service for the measurement, where it was created |
createdAt | Date | The time the measurement was created on the Human API server |
location | Object | The coordinate point with a lat/lon value |
updatedAt | Date | The time the measurement was updated on the Human API server |
Location Object
Property | Type | Description |
---|---|---|
lon | Number | Longitude |
lat | Number | Latitude |