places and places nearby need an optional fields parameter like places

オープン
#524 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
python
領域
api

調査の方向性

googlemaps/places.py を開き、既存の place 呼び出しにおける fields の処理と併せて、places および places_nearby のエントリポイントを調査します。両方の呼び出しがオプションの 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分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

googlemaps/google-maps-services-python のほかの issue

googlemaps/google-maps-services-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。