Destinations
Search Destinations (Autocomplete)
Search for city destinations using Google Places Autocomplete. Requires authentication to prevent abuse of Google API quota.
get/api/v1/destinations/search
Request
- Base URL: https://www.endlesstravelplans.com
- URL: https://www.endlesstravelplans.com/api/v1/destinations/search
- Auth: HTTP bearer
Query parameters
qstring required
Search query (min 3 characters).
Example:Paris
Response
Example response
{
"results": [
{
"name": "Paris, France",
"city": "Paris",
"country": "France",
"lat": 48.8566,
"lon": 2.3522
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.