slimkrazy / python-google-places

Simple wrapper around the new 'experimental' Google Places API
MIT License
474 stars 167 forks source link

Nearby search within a bounding box by latlngBounds #99

Open azarezade opened 7 years ago

azarezade commented 7 years ago

According to documentations, it seems nearby search request can make a request either by:

But I wonder why there is no such option in nearby_search()? It has only circular search options!

slimkrazy commented 7 years ago

The documention that you linked to seems to be the docs for the Google Maps API, and not the docs for the Places API. The Places API documentation is here:

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

This library is indeed missing support for some parameters for the nearby search API, but not one that you have asked for here... We seem to be missing:

I'll get to these as soon as I have some spare time (ha!), or I'd be more than happy to take a PR with support for these params added ;-)