Places API (New)
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Mit der Places API können Entwickler auf eine Vielzahl von Such- und Abrufendpunkten für einen Ort zugreifen.
Dienst: places.googleapis.com
Der Dienstname places.googleapis.com
wird benötigt, um RPC-Client-Stubs zu erstellen.
Methoden |
AutocompletePlaces
|
Gibt Vorhersagen für die angegebene Eingabe zurück. |
GetPhotoMedia
|
Rufen Sie ein Fotomedium mit einer Fotoreferenzzeichenfolge ab. |
GetPlace
|
Rufen Sie die Details zu einem Ort anhand des Ressourcennamens ab. Dieser ist ein String im Format places/{place_id} . |
SearchNearby
|
Suchen Sie nach Orten in der Nähe von Standorten. |
SearchText
|
Textabfragebasierte Ortssuche |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-08-29 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-08-29 (UTC)."],[[["\u003cp\u003eThe Places API provides developers with access to various search and retrieval endpoints for Place data.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize endpoints like AutocompletePlaces, GetPhotoMedia, GetPlace, SearchNearby, and SearchText to interact with Place information.\u003c/p\u003e\n"],["\u003cp\u003eThe service name \u003ccode\u003eplaces.googleapis.com\u003c/code\u003e is crucial for creating RPC client stubs to access these features.\u003c/p\u003e\n"],["\u003cp\u003ePlace details can be retrieved using a resource name in the format \u003ccode\u003eplaces/{place_id}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Places API (New)\n\nThe Places API allows developers to access a variety of search and retrieval endpoints for a Place.\n\nService: places.googleapis.com\n------------------------------\n\nThe Service name `places.googleapis.com` is needed to create RPC client stubs.\n\n[google.maps.places.v1.Places](/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1#google.maps.places.v1.Places)\n---------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|\n| [AutocompletePlaces](/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1#google.maps.places.v1.Places.AutocompletePlaces) | Returns predictions for the given input. |\n| [GetPhotoMedia](/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1#google.maps.places.v1.Places.GetPhotoMedia) | Get a photo media with a photo reference string. |\n| [GetPlace](/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1#google.maps.places.v1.Places.GetPlace) | Get the details of a place based on its resource name, which is a string in the `places/{place_id}` format. |\n| [SearchNearby](/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1#google.maps.places.v1.Places.SearchNearby) | Search for places near locations. |\n| [SearchText](/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1#google.maps.places.v1.Places.SearchText) | Text query based place search. |"]]