python-google-places icon indicating copy to clipboard operation
python-google-places copied to clipboard

Location parameter

Open WeaverStever opened this issue 9 years ago • 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.

WeaverStever avatar Jul 31 '16 09:07 WeaverStever

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

The-Arcanian avatar Feb 23 '18 02:02 The-Arcanian