places and places nearby need an optional fields parameter like places

未關閉
#524 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

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

研究方向

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

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

描述

triage me type: feature request

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

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

googlemaps/google-maps-services-python 的其他 Issue

查看 googlemaps/google-maps-services-python 的全部 Issue

相似的 Issue

更多 Python Issue

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

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