Make Places "textsearch" query parameter optional#399
Make Places "textsearch" query parameter optional#399jpoehnelt merged 1 commit intogooglemaps:masterfrom
Conversation
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
Codecov Report
@@ Coverage Diff @@
## master #399 +/- ##
=======================================
Coverage 89.19% 89.19%
=======================================
Files 13 13
Lines 731 731
=======================================
Hits 652 652
Misses 79 79
Continue to review full report at Codecov.
|
|
@googlebot I signed it! |
## [4.4.4](v4.4.3...v4.4.4) (2021-03-12) ### Bug Fixes * make Places textsearch query parameter optional ([#399](#399)) ([6b29efd](6b29efd))
|
🎉 This PR is included in version 4.4.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
## [4.4.4](googlemaps/google-maps-services-python@v4.4.3...v4.4.4) (2021-03-12) ### Bug Fixes * make Places textsearch query parameter optional ([#399](googlemaps/google-maps-services-python#399)) ([6b29efd](googlemaps/google-maps-services-python@6b29efd))
The
queryparameter in the Places'textsearchAPI should be optional. Both as a fix for #395, but also more generally because the actual API supports calls without specifying the parameter.For example:
https://maps.googleapis.com/maps/api/place/textsearch/json?type=point_of_interest&location=43.8789781,-79.9714529&radius=10000&key={{ key }}No
queryparameter is specified, yet the request is completed successfully with no error and a result set.Fixes #395 🦕