places and places nearby need an optional fields parameter like places

Offen
#524 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
api

Rechercherichtung

Öffne googlemaps/places.py und untersuche die Einstiegspunkte places und places_nearby zusammen mit der bestehenden fields-Behandlung des place-Aufrufs. Die Arbeit ist abgeschlossen, wenn beide Aufrufe einen optionalen fields-Parameter akzeptieren und ihn verwenden, um Antworten wie angefordert zu verkürzen; überprüfe das Verhalten anhand des verlinkten Implementierungskontexts.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

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.