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

Offen
#493 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@wangela arbeitet bereits daran.

Seit 29.6.2023.

  • #533 von @anishcherukuthota — offen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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

Vorherrschende Sprache
Python
Sterne
5k
Forks
1.4k
Ø Merge
5 Std. 9 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus googlemaps/google-maps-services-python

Alle Issues in googlemaps/google-maps-services-python

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.