Misc
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
languagestringoptionalDisplay language (ja | en, default ja).
Response
| Field | Type | Description |
|---|---|---|
location | Location | The location; can be passed as-is to the location field of PUT /users/me 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 }}}