places and places nearby need an optional fields parameter like places

Aberta
#524 0 comentários 1 reação 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
45/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
api

Direção de pesquisa

Abra googlemaps/places.py e inspecione os entry points places e places_nearby juntamente com o tratamento existente de fields na chamada place. O trabalho estará concluído quando ambas as chamadas aceitarem um parâmetro fields opcional e o utilizarem para reduzir as respostas conforme solicitado; verifique o comportamento com base no contexto de implementação vinculado.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

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.