Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Travel destinations API [closed]

When you google a country's name, the results page displays a section called "travel guide", which includes travel info about that country and a little list of destinations as shown in the image below.

google travel

Is there a way to fetch this kind of data (eg, country name, description, things to do (as an array with title, description, image), popular trips, when to visit, etc...) via the Google Places API?

I've been researching it for a while now and haven't been able to get anywhere near.

If it isn't possible, is there another api that could get me somewhere near to this data?

like image 703
Filipe Merker Avatar asked Apr 17 '18 20:04

Filipe Merker


1 Answers

There are multiple Hotel search APIs but in your case you need tour/attractions data.

Try this Google Places API URL. You will get the point of interest/Attraction/Tourists places in (For Eg:) New York City. You have to use the CITY NAME with the keyword Point Of Interest

https://maps.googleapis.com/maps/api/place/textsearch/json?query=new+york+city+point+of+interest&language=en&key=API_KEY

This API call results are same as the results of the below google search results.

New York point of interest

2) If you want some third party data then you can also try Musement API

Experinces/Places in New York

like image 53
UsamaAmjad Avatar answered Sep 28 '22 07:09

UsamaAmjad