googlemaps / googlemaps/google-maps-services-python

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

Abierto
#493 0 comentarios 0 reacciones 1 asignado Reclamado por @wangela Ver en GitHub
Lenguaje dominante
Python
Estrellas
5k
Forks
1.4k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Hi everyone, thanks for the great library :heart:

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](https://github.com/googlemaps/google-maps-services-python/assets/7606194/0bc9b893-7445-46a1-9a8b-95759aa3d2fe)

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.