Get nearby places:
GET /places/nearby
Parameters:
- latitude
- longitude
- meters (radius to search, optional)
- count (number of results, optional)
Response:
[
{
"id": 4209,
"osm_id": 9831924470,
"name": "Example restaurant",
"type": "restaurant",
"icon_carto": "amenity/restaurant",
"icon_fontawesome": "utensils",
"latitude": 45.5223,
"longitude": -122.673
}
]
Add a new place:
POST /places
(Not implemented yet.)
Edit an existing place:
POST /places/[id]
(Not implemented yet.)