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

Aberta
#493 0 comentários 0 reações 1 responsável Ver no GitHub

@wangela já está trabalhando nisso.

Desde 29/6/2023.

  • #533 de @anishcherukuthota — aberto

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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

Linguagem predominante
Python
Estrelas
5k
Forks
1.4k
Merge médio
5h 9min
PRs com merge (30d)
1

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de googlemaps/google-maps-services-python

Todas as issues de googlemaps/google-maps-services-python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.