slimkrazy/python-google-places

Nearby search within a bounding box by latlngBounds

azarezade opened this issue · 1 comments

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

  • bounds or
  • location and a radius

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

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:

  • minprice
  • maxprice
  • opennow
  • region

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 ;-)