Place Details: Replace field `type` with `types`

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

@wangela がすでに取り組んでいます。

2023年6月29日 から。

  • #533 @anishcherukuthota による — オープン

評価

この issue はまだ評価されていません。

説明

Hi everyone, thanks for the great library ❤️

Just noticed a small bug: According to the Place Details documentation, type is (no longer?) a valid field. Instead, there is now a types field. See: https://developers.google.com/maps/documentation/places/web-service/details#Place-types

image

This will need to be changed in the list of PLACES_DETAIL_FIELDS_BASIC here: https://github.com/googlemaps/google-maps-services-python/blob/645e07de5a27c4c858b2c0673f0dd6f23ca62d28/googlemaps/places.py#L77

主要言語
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 を短くまとめたダイジェスト。