Places
class Places extends Resource (View source)
The "places" collection of methods.
Typical usage is:
$placesService = new Google\Service\MapsPlaces(...);
$places = $placesService->places;
Methods
autocomplete(GoogleMapsPlacesV1AutocompletePlacesRequest $postBody, array $optParams = [])
Returns predictions for the given input. (places.autocomplete)
get(string $name, array $optParams = [])
Get the details of a place based on its resource name, which is a string in
the places/{place_id}
format. (places.get)
searchNearby(GoogleMapsPlacesV1SearchNearbyRequest $postBody, array $optParams = [])
Search for places near locations. (places.searchNearby)
searchText(GoogleMapsPlacesV1SearchTextRequest $postBody, array $optParams = [])
Text query based place search. (places.searchText)
Details
GoogleMapsPlacesV1AutocompletePlacesResponse
autocomplete(GoogleMapsPlacesV1AutocompletePlacesRequest $postBody, array $optParams = [])
Returns predictions for the given input. (places.autocomplete)
GoogleMapsPlacesV1Place
get(string $name, array $optParams = [])
Get the details of a place based on its resource name, which is a string in
the places/{place_id}
format. (places.get)
GoogleMapsPlacesV1SearchNearbyResponse
searchNearby(GoogleMapsPlacesV1SearchNearbyRequest $postBody, array $optParams = [])
Search for places near locations. (places.searchNearby)
GoogleMapsPlacesV1SearchTextResponse
searchText(GoogleMapsPlacesV1SearchTextRequest $postBody, array $optParams = [])
Text query based place search. (places.searchText)