I'm trying to reverse geocode location by placeId
using https://github.com/googlemaps/google-maps-services-python, but I get an empty array as a result.
gmaps = googlemaps.Client(key='<my-api-key>')
place_id = "ChIJnQrgk4u6EmsRVqYSfnjhaOk"
location = gmaps.geolocate({'placeId':place_id})
Location gets returned as []
.
How can I do that, since the documentation for the library is not the best.