places and places nearby need an optional fields parameter like places
还没有人认领这个 Issue。
评估
调研方向
打开 googlemaps/places.py,检查 places 和 places_nearby 入口点,以及现有 place 调用对 fields 的处理。两次调用都接受可选的 fields 参数,并使用它按要求缩短响应后,即视为完成;根据链接的实现上下文验证其行为。
由索引模型根据 Issue 内容生成。
描述
Thanks for stopping by to let us know something could be better!
PLEASE READ
If you have a support contract with Google, please create an issue in the support console. This will ensure a timely response.
Discover additional support services for the Google Maps Platform, including developer communities, technical guidance, and expert support at the Google Maps Platform support resources page.
If your bug or feature request is not related to this particular library, please visit the Google Maps Platform issue trackers.
Check for answers on StackOverflow with the google-maps tag.
Is your feature request related to a problem? Please describe.
I am frustrated the places and places_nearby function calls do not allow me to specify the fields I want returned like in the place function call.
Describe the solution you'd like
A clear and concise description of what you want to happen.
I would love an optional fields parameter to help me shorten the length of responses.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
https://github.com/googlemaps/google-maps-services-python/blob/master/googlemaps/places.py
- 主要语言
- Python
- 星标
- 5k
- 派生
- 1.4k
- 平均合并
- 5 小时 9 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
googlemaps/google-maps-services-python 的其他 Issue
-
maps未关闭triage me type: bug
难度 5/5 一周以上 新手友好度 10/100
-
triage me type: feature request
难度 5/5 一周以上 新手友好度 20/100
googlemaps/google-maps-services-python#541 · 3 条评论 · 38 个 reaction ·
-
Release failed - unexpected keyword argument: enable_address_descriptor still not supported可能已有人在做 @Rahulcse79 于 194 天前认领。 未关闭triage me type: bug
难度 3/5 1-2 天 新手友好度 35/100
googlemaps/google-maps-services-python#540 · 1 条评论 ·
-
triage me type: question
难度 1/5 1 小时以内 新手友好度 15/100
googlemaps/google-maps-services-python#539 · 3 条评论 ·
-
triage me type: bug
难度 3/5 1-2 天 新手友好度 30/100
查看 googlemaps/google-maps-services-python 的全部 Issue
相似的 Issue
-
bug drawing-tools
难度 2/5 1-3 小时 新手友好度 76/100
cofade/open-garden-planner#827 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
bug documentation good first issue help wanted testing
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 88/100
hololinked-dev/hololinked#213 ·
-
Show evidence time and supersede warnings in the memory inspector可能已有人在做 @Sinchanak-212 今天认领。 未关闭area: ux good first issue priority: medium
难度 2/5 1-3 小时 新手友好度 84/100