slimkrazy/python-google-places

Location parameter

Opened this issue · 1 comments

Minor documentation issue:

location='London, England' is an incorrect type in readme.rst

location — The latitude/longitude around which to retrieve place information. This must be specified as latitude,longitude..

radius — Defines the distance (in meters) within which to return place results. The maximum allowed radius is 50000 meters.

Also

types (deprecated) ....

https://developers.google.com/places/web-service/search

I included the bullet about the 50,000 meters because I believe this is enough to cover the entire globe. I.e., for people who want to do a name search that should work with any latitude and longitude.

Thanks so much, this is really great tool.

Location arguments for this wrapper use the Google Maps Geocoding API to get latitude and longitude to feed into the Places request.