# Places API (New)

The Places API allows developers to access a variety of search and retrieval endpoints for a Place.

## Service: places.googleapis.com

The Service name `places.googleapis.com` is needed to create RPC client stubs.

## `https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1#google.maps.places.v1.Places`

| Methods ||
|---|---|
| `` `https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1#google.maps.places.v1.Places.AutocompletePlaces` `` | Returns predictions for the given input. |
| `` `https://developers.google.com/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. |
| `` `https://developers.google.com/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. |
| `` `https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1#google.maps.places.v1.Places.SearchNearby` `` | Search for places near locations. |
| `` `https://developers.google.com/maps/documentation/places/web-service/reference/rpc/google.maps.places.v1#google.maps.places.v1.Places.SearchText` `` | Text query based place search. |