Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Places API for python, location_restriction #518

Open
yvesmango opened this issue Apr 11, 2024 · 1 comment
Open

Places API for python, location_restriction #518

yvesmango opened this issue Apr 11, 2024 · 1 comment
Labels
triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@yvesmango
Copy link

yvesmango commented Apr 11, 2024

so i'm well aware that a python client exists for Google Maps package. im toying around with find_place() function on python and i noticed that you have one of the parameters "location_bias" existing in two ways in the curl requests but not in python client. specifically, users can specify locationBias or locationRestriction in their places query - one is more search restricting than the other. i use places API in conjunction with Geocoder API and when dealing with location filters or restrictions, i think it's a waste of tokens to geocode places well-outside the specified area. since i am using python client, locationBias is the only parameter available to me (e.g. location_bias=), i wish to use locationRestriction instead for a more restricted place search.

so i just wanted to write this suggesting to include locationRestriction in the python client if possible.

https://developers.google.com/maps/documentation/places/web-service/text-search#location-bias

@yvesmango yvesmango added triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Apr 11, 2024
@wangela
Copy link
Member

wangela commented Apr 11, 2024

If you would like to upvote the priority of this issue, please comment below or react on the original post above with 👍 so we can see what is popular when we triage.

@yvesmango Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:

This is an automated message, feel free to ignore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants