places/v1 library
Places API (New) - v1
For more information, see mapsplatform.google.com/maps-products/#places-section
Create an instance of PlacesApi to access these resources:
Classes
- GoogleGeoTypeViewport
-
A latitude-longitude viewport, represented as two diagonally opposite
low
andhigh
points. - GoogleMapsPlacesV1AuthorAttribution
- Information about the author of the UGC data.
- GoogleMapsPlacesV1Circle
- Circle with a LatLng as center and radius.
- GoogleMapsPlacesV1Int32Range
- int 32 range.
- GoogleMapsPlacesV1Place
- All the information representing a Place.
- GoogleMapsPlacesV1PlaceAddressComponent
- The structured components that form the formatted address, if this information is available.
- GoogleMapsPlacesV1PlaceAttribution
- Information about data providers of this place.
- GoogleMapsPlacesV1PlaceOpeningHours
- Information about business hour of the place.
- GoogleMapsPlacesV1PlaceOpeningHoursPeriod
- A period the place remains in open_now status.
- GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint
- Status changing points.
- GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay
- Structured information for special days that fall within the period that the returned opening hours cover.
- GoogleMapsPlacesV1PlacePlusCode
- Plus code (http://plus.codes) is a location reference with two formats: global code defining a 14mx14m (1/8000th of a degree) or smaller rectangle, and compound code, replacing the prefix with a reference location.
- GoogleMapsPlacesV1Review
- Information about a review of a place.
- GoogleMapsPlacesV1SearchTextRequest
- Request proto for SearchText.
- GoogleMapsPlacesV1SearchTextRequestLocation
- [Deprecated!]The region to search.
- GoogleMapsPlacesV1SearchTextRequestLocationBias
- The region to search.
- GoogleMapsPlacesV1SearchTextRequestLocationRestriction
- The region to search.
- GoogleMapsPlacesV1SearchTextResponse
- Response proto for SearchText.
- PlacesApi
- PlacesResource
- TextResource
Typedefs
- GoogleTypeDate = $Date
- Represents a whole or partial calendar date, such as a birthday.
- GoogleTypeLatLng = $LatLng
- An object that represents a latitude/longitude pair.
- GoogleTypeLocalizedText = $GoogleTypeLocalizedText
- Localized variant of a text in a particular language.
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.