slimkrazy/python-google-places

Get place details with just place_id?

Closed this issue · 1 comments

It seems get_details work only after a call to nearby_places search. How can I get the details of a place given its place_id??

google_places = GooglePlaces('YOUR_API_KEY')

place = google_places.get_place(place_id='ChIJN1t_tDeuEmsRUsoyG83frY4');
print place.name