/locations/:id Permission level: 5

get/locations/{id}

Request

  • Base URL
    https://www.humanity.com/api/v2
  • Auth
    API key in query parameter access_token

Path parameters

idinteger required

Location id

Response

200

statusinteger
tokenstring

Example response

{
  "status": 1,
  "data": {
    "id": 542311,
    "name": "Dream Coffee Shop 2",
    "country": "NL",
    "address": "Wijde Heisteeg 4, 1016 AS Amsterdam, Netherlands",
    "lat": 52.3687499,
    "lon": 4.8875525,
    "store": 251300,
    "type": 1,
    "timezone_id": 311,
    "map": "https://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Wijde+Heisteeg+4%2C+1016+AS+Amsterdam%2C+Netherlands%2C+NL",
    "directions": "https://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Wijde+Heisteeg+4%2C+1016+AS+Amsterdam%2C+Netherlands%2C+NL"
  },
  "token": "xxxxxxx"
}

Changes