Place detail
GET
/places/:placeIdReturns an object for the given placeId in the shape used to store a user's location. The Japanese rendering is included under languages.ja.
| Auth | Login required |
|---|
Path parameters
placeIdstringrequiredThe placeId returned by autocomplete.
Query parameters
languagestringDisplay language (ja | en, default ja).
Response
| Field | Type | Description |
|---|---|---|
location | object | Object with placeId / displayText / name / country / state / city / geo. Can be passed as-is to PUT /users/me location or to profileAnswers.location on registration. |
Request
curl https://api.4s.link/places/PLACE_ID \-H "Authorization: Bearer 4s_at_..."
Example response
{"location": {"placeId": "ChIJ...","displayText": "Minato City, Tokyo, Japan","name": "Minato City","country": "Japan","countryCode": "JP","state": "Tokyo","city": "Minato City","geo": { "lat": 35.6581, "lng": 139.7514 }}}