googlemaps / googlemaps/google-maps-services-python

places and places nearby need an optional fields parameter like places

未關閉
#524 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
triage me type: feature request
主要語言
Python
星號
5k
分支
1.4k
PR 合併指標
30 天內沒有已合併 PR

描述

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](https://cloud.google.com/support/). 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](https://developers.google.com/maps/support/).

If your bug or feature request is not related to this particular library, please visit the Google Maps Platform [issue trackers](https://developers.google.com/maps/support/#issue_tracker).

Check for answers on StackOverflow with the [google-maps](http://stackoverflow.com/questions/tagged/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

貢獻指南

開啟貢獻指南

研究方向

開啟 googlemaps/places.py,檢查 places 和 places_nearby 進入點,以及現有 place 呼叫對 fields 的處理。兩個呼叫都接受選用的 fields 參數,並使用它依要求縮短回應後,即視為完成;根據連結的實作內容驗證其行為。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
api
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。