blob: 770ab99dc13052b3f64d6d7a0e10c6163cd713a3 [file] [edit]
<html><body>
<style>
body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
font-size: 13px;
padding: 1em;
}
h1 {
font-size: 26px;
margin-bottom: 1em;
}
h2 {
font-size: 24px;
margin-bottom: 1em;
}
h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}
pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}
pre {
margin-top: 0.5em;
}
h1, h2, h3, p {
font-family: Arial, sans serif;
}
h1, h2, h3 {
border-bottom: solid #CCC 1px;
}
.toc_element {
margin-top: 0.5em;
}
.firstline {
margin-left: 2 em;
}
.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}
.details {
font-weight: bold;
font-size: 14px;
}
</style>
<h1><a href="places_v1.html">Places API (New)</a> . <a href="places_v1.places.html">places</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="places_v1.places.photos.html">photos()</a></code>
</p>
<p class="firstline">Returns the photos Resource.</p>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#get">get(name, languageCode=None, regionCode=None, x__xgafv=None)</a></code></p>
<p class="firstline">Get place details with a place id (in a name) string.</p>
<p class="toc_element">
<code><a href="#searchNearby">searchNearby(body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Search for places near locations.</p>
<p class="toc_element">
<code><a href="#searchText">searchText(body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Text query based place search.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>
<div class="method">
<code class="details" id="get">get(name, languageCode=None, regionCode=None, x__xgafv=None)</code>
<pre>Get place details with a place id (in a name) string.
Args:
name: string, Required. A place ID returned in a Place (with &quot;places/&quot; prefix), or equivalently the name in the same Place. Format: places/*place_id*. (required)
languageCode: string, Optional. Place details will be displayed with the preferred language if available. Current list of supported languages: https://developers.google.com/maps/faq#languagesupport.
regionCode: string, Optional. The Unicode country/region code (CLDR) of the location where the request is coming from. This parameter is used to display the place details, like region-specific place name, if available. The parameter can affect results based on applicable law. For more information, see https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html. Note that 3-digit region codes are not currently supported.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # All the information representing a Place.
&quot;accessibilityOptions&quot;: { # Information about the accessibility options a place offers. # Information about the accessibility options a place offers.
&quot;wheelchairAccessibleEntrance&quot;: True or False, # Places has wheelchair accessible entrance.
&quot;wheelchairAccessibleParking&quot;: True or False, # Place offers wheelchair accessible parking.
&quot;wheelchairAccessibleRestroom&quot;: True or False, # Place has wheelchair accessible restroom.
&quot;wheelchairAccessibleSeating&quot;: True or False, # Place has wheelchair accessible seating.
},
&quot;addressComponents&quot;: [ # Repeated components for each locality level. Note the following facts about the address_components[] array: - The array of address components may contain more components than the formatted_address. - The array does not necessarily include all the political entities that contain an address, apart from those included in the formatted_address. To retrieve all the political entities that contain a specific address, you should use reverse geocoding, passing the latitude/longitude of the address as a parameter to the request. - The format of the response is not guaranteed to remain the same between requests. In particular, the number of address_components varies based on the address requested and can change over time for the same address. A component can change position in the array. The type of the component can change. A particular component may be missing in a later response.
{ # The structured components that form the formatted address, if this information is available.
&quot;languageCode&quot;: &quot;A String&quot;, # The language used to format this components, in CLDR notation.
&quot;longText&quot;: &quot;A String&quot;, # The full text description or name of the address component. For example, an address component for the country Australia may have a long_name of &quot;Australia&quot;.
&quot;shortText&quot;: &quot;A String&quot;, # An abbreviated textual name for the address component, if available. For example, an address component for the country of Australia may have a short_name of &quot;AU&quot;.
&quot;types&quot;: [ # An array indicating the type(s) of the address component.
&quot;A String&quot;,
],
},
],
&quot;adrFormatAddress&quot;: &quot;A String&quot;, # The place&#x27;s address in adr microformat: http://microformats.org/wiki/adr.
&quot;allowsDogs&quot;: True or False, # Place allows dogs.
&quot;attributions&quot;: [ # A set of data provider that must be shown with this result.
{ # Information about data providers of this place.
&quot;provider&quot;: &quot;A String&quot;, # Name of the Place&#x27;s data provider.
&quot;providerUri&quot;: &quot;A String&quot;, # URI to the Place&#x27;s data provider.
},
],
&quot;businessStatus&quot;: &quot;A String&quot;, # The business status for the place.
&quot;curbsidePickup&quot;: True or False, # Specifies if the business supports curbside pickup.
&quot;currentOpeningHours&quot;: { # Information about business hour of the place. # The hours of operation for the next seven days (including today). The time period starts at midnight on the date of the request and ends at 11:59 pm six days later. This field includes the special_days subfield of all hours, set for dates that have exceptional hours.
&quot;openNow&quot;: True or False, # Is this place open right now? Always present unless we lack time-of-day or timezone data for these opening hours.
&quot;periods&quot;: [ # The periods that this place is open during the week. The periods are in chronological order, starting with Sunday in the place-local timezone. An empty (but not absent) value indicates a place that is never open, e.g. because it is closed temporarily for renovations.
{ # A period the place remains in open_now status.
&quot;close&quot;: { # Status changing points. # The time that the place starts to be closed.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
&quot;open&quot;: { # Status changing points. # The time that the place starts to be open.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
},
],
&quot;secondaryHoursType&quot;: &quot;A String&quot;, # A type string used to identify the type of secondary hours.
&quot;specialDays&quot;: [ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day. Set for current_opening_hours and current_secondary_opening_hours if there are exceptional hours.
{ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date of this special day.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
},
],
&quot;weekdayDescriptions&quot;: [ # Localized strings describing the opening hours of this place, one string for each day of the week. Will be empty if the hours are unknown or could not be converted to localized text. Example: &quot;Sun: 18:00–06:00&quot;
&quot;A String&quot;,
],
},
&quot;currentSecondaryOpeningHours&quot;: [ # Contains an array of entries for the next seven days including information about secondary hours of a business. Secondary hours are different from a business&#x27;s main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place. This field includes the special_days subfield of all hours, set for dates that have exceptional hours.
{ # Information about business hour of the place.
&quot;openNow&quot;: True or False, # Is this place open right now? Always present unless we lack time-of-day or timezone data for these opening hours.
&quot;periods&quot;: [ # The periods that this place is open during the week. The periods are in chronological order, starting with Sunday in the place-local timezone. An empty (but not absent) value indicates a place that is never open, e.g. because it is closed temporarily for renovations.
{ # A period the place remains in open_now status.
&quot;close&quot;: { # Status changing points. # The time that the place starts to be closed.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
&quot;open&quot;: { # Status changing points. # The time that the place starts to be open.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
},
],
&quot;secondaryHoursType&quot;: &quot;A String&quot;, # A type string used to identify the type of secondary hours.
&quot;specialDays&quot;: [ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day. Set for current_opening_hours and current_secondary_opening_hours if there are exceptional hours.
{ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date of this special day.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
},
],
&quot;weekdayDescriptions&quot;: [ # Localized strings describing the opening hours of this place, one string for each day of the week. Will be empty if the hours are unknown or could not be converted to localized text. Example: &quot;Sun: 18:00–06:00&quot;
&quot;A String&quot;,
],
},
],
&quot;delivery&quot;: True or False, # Specifies if the business supports delivery.
&quot;dineIn&quot;: True or False, # Specifies if the business supports indoor or outdoor seating options.
&quot;displayName&quot;: { # Localized variant of a text in a particular language. # The localized name of the place, suitable as a short human-readable description. For example, &quot;Google Sydney&quot;, &quot;Starbucks&quot;, &quot;Pyrmont&quot;, etc.
&quot;languageCode&quot;: &quot;A String&quot;, # The text&#x27;s BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
&quot;text&quot;: &quot;A String&quot;, # Localized string in the language corresponding to language_code below.
},
&quot;editorialSummary&quot;: { # Localized variant of a text in a particular language. # Contains a summary of the place. A summary is comprised of a textual overview, and also includes the language code for these if applicable. Summary text must be presented as-is and can not be modified or altered.
&quot;languageCode&quot;: &quot;A String&quot;, # The text&#x27;s BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
&quot;text&quot;: &quot;A String&quot;, # Localized string in the language corresponding to language_code below.
},
&quot;evChargeOptions&quot;: { # Information about the EV Charge Station hosted in Place. Terminology follows https://afdc.energy.gov/fuels/electricity_infrastructure.html One port could charge one car at a time. One port has one or more connectors. One station has one or more ports. # Information of ev charging options.
&quot;connectorAggregation&quot;: [ # A list of EV charging connector aggregations that contain connectors of the same type and same charge rate.
{ # EV charging information grouped by [type, max_charge_rate_kw]. Shows EV charge aggregation of connectors that have the same type and max charge rate in kw.
&quot;availabilityLastUpdateTime&quot;: &quot;A String&quot;, # The timestamp when the connector availability information in this aggregation was last updated.
&quot;availableCount&quot;: 42, # Number of connectors in this aggregation that are currently available.
&quot;count&quot;: 42, # Number of connectors in this aggregation.
&quot;maxChargeRateKw&quot;: 3.14, # The static max charging rate in kw of each connector in the aggregation.
&quot;outOfServiceCount&quot;: 42, # Number of connectors in this aggregation that are currently out of service.
&quot;type&quot;: &quot;A String&quot;, # The connector type of this aggregation.
},
],
&quot;connectorCount&quot;: 42, # Number of connectors at this station. However, because some ports can have multiple connectors but only be able to charge one car at a time (e.g.) the number of connectors may be greater than the total number of cars which can charge simultaneously.
},
&quot;formattedAddress&quot;: &quot;A String&quot;, # A full, human-readable address for this place.
&quot;fuelOptions&quot;: { # The most recent information about fuel options in a gas station. This information is updated regularly. # The most recent information about fuel options in a gas station. This information is updated regularly.
&quot;fuelPrices&quot;: [ # The last known fuel price for each type of fuel this station has. There is one entry per fuel type this station has. Order is not important.
{ # Fuel price information for a given type.
&quot;price&quot;: { # Represents an amount of money with its currency type. # The price of the fuel.
&quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
&quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
&quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
},
&quot;type&quot;: &quot;A String&quot;, # The type of fuel.
&quot;updateTime&quot;: &quot;A String&quot;, # The time the fuel price was last updated.
},
],
},
&quot;goodForChildren&quot;: True or False, # Place is good for children.
&quot;goodForGroups&quot;: True or False, # Place accommodates groups.
&quot;goodForWatchingSports&quot;: True or False, # Place is suitable for watching sports.
&quot;googleMapsUri&quot;: &quot;A String&quot;, # A URL providing more information about this place.
&quot;iconBackgroundColor&quot;: &quot;A String&quot;, # Background color for icon_mask in hex format, e.g. #909CE1.
&quot;iconMaskBaseUri&quot;: &quot;A String&quot;, # A truncated URL to an icon mask. User can access different icon type by appending type suffix to the end (eg, &quot;.svg&quot; or &quot;.png&quot;).
&quot;id&quot;: &quot;A String&quot;, # The unique identifier of a place.
&quot;internationalPhoneNumber&quot;: &quot;A String&quot;, # A human-readable phone number for the place, in international format.
&quot;liveMusic&quot;: True or False, # Place provides live music.
&quot;location&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # The position of this place.
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
},
&quot;menuForChildren&quot;: True or False, # Place has a children&#x27;s menu.
&quot;name&quot;: &quot;A String&quot;, # An ID representing this place which may be used to look up this place again (a.k.a. the API &quot;resource&quot; name: places/place_id).
&quot;nationalPhoneNumber&quot;: &quot;A String&quot;, # A human-readable phone number for the place, in national format.
&quot;outdoorSeating&quot;: True or False, # Place provides outdoor seating.
&quot;parkingOptions&quot;: { # Information about parking options for the place. A parking lot could support more than one option at the same time. # Options of parking provided by the place.
&quot;freeGarageParking&quot;: True or False, # Place offers free garage parking.
&quot;freeParkingLot&quot;: True or False, # Place offers free parking lots.
&quot;freeStreetParking&quot;: True or False, # Place offers free street parking.
&quot;paidGarageParking&quot;: True or False, # Place offers paid garage parking.
&quot;paidParkingLot&quot;: True or False, # Place offers paid parking lots.
&quot;paidStreetParking&quot;: True or False, # Place offers paid street parking.
&quot;valetParking&quot;: True or False, # Place offers valet parking.
},
&quot;paymentOptions&quot;: { # Payment options the place accepts. # Payment options the place accepts. If a payment option data is not available, the payment option field will be unset.
&quot;acceptsCashOnly&quot;: True or False, # Place accepts cash only as payment. Places with this attribute may still accept other payment methods.
&quot;acceptsCreditCards&quot;: True or False, # Place accepts credit cards as payment.
&quot;acceptsDebitCards&quot;: True or False, # Place accepts debit cards as payment.
&quot;acceptsNfc&quot;: True or False, # Place accepts NFC payments.
},
&quot;photos&quot;: [ # Information (including references) about photos of this place.
{ # Information about a photo of a place.
&quot;authorAttributions&quot;: [ # This photo&#x27;s authors.
{ # Information about the author of the UGC data. Used in Photo, and Review.
&quot;displayName&quot;: &quot;A String&quot;, # Name of the author of the Photo or Review.
&quot;photoUri&quot;: &quot;A String&quot;, # Profile photo URI of the author of the Photo or Review.
&quot;uri&quot;: &quot;A String&quot;, # URI of the author of the Photo or Review.
},
],
&quot;heightPx&quot;: 42, # The maximum available height, in pixels.
&quot;name&quot;: &quot;A String&quot;, # Identifier. A reference representing this place photo which may be used to look up this place photo again (a.k.a. the API &quot;resource&quot; name: places/{place_id}/photos/{photo}).
&quot;widthPx&quot;: 42, # The maximum available width, in pixels.
},
],
&quot;plusCode&quot;: { # 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. # Plus code of the place location lat/long.
&quot;compoundCode&quot;: &quot;A String&quot;, # Place&#x27;s compound code, such as &quot;33GV+HQ, Ramberg, Norway&quot;, containing the suffix of the global code and replacing the prefix with a formatted name of a reference entity.
&quot;globalCode&quot;: &quot;A String&quot;, # Place&#x27;s global (full) code, such as &quot;9FWM33GV+HQ&quot;, representing an 1/8000 by 1/8000 degree area (~14 by 14 meters).
},
&quot;priceLevel&quot;: &quot;A String&quot;, # Price level of the place.
&quot;primaryType&quot;: &quot;A String&quot;, # The primary type of the given result. This type must one of the Places API supported types. For example, &quot;restaurant&quot;, &quot;cafe&quot;, &quot;airport&quot;, etc. A place can only have a single primary type. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types
&quot;primaryTypeDisplayName&quot;: { # Localized variant of a text in a particular language. # The display name of the primary type, localized to the request language if applicable. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types
&quot;languageCode&quot;: &quot;A String&quot;, # The text&#x27;s BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
&quot;text&quot;: &quot;A String&quot;, # Localized string in the language corresponding to language_code below.
},
&quot;rating&quot;: 3.14, # A rating between 1.0 and 5.0, based on user reviews of this place.
&quot;regularOpeningHours&quot;: { # Information about business hour of the place. # The regular hours of operation.
&quot;openNow&quot;: True or False, # Is this place open right now? Always present unless we lack time-of-day or timezone data for these opening hours.
&quot;periods&quot;: [ # The periods that this place is open during the week. The periods are in chronological order, starting with Sunday in the place-local timezone. An empty (but not absent) value indicates a place that is never open, e.g. because it is closed temporarily for renovations.
{ # A period the place remains in open_now status.
&quot;close&quot;: { # Status changing points. # The time that the place starts to be closed.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
&quot;open&quot;: { # Status changing points. # The time that the place starts to be open.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
},
],
&quot;secondaryHoursType&quot;: &quot;A String&quot;, # A type string used to identify the type of secondary hours.
&quot;specialDays&quot;: [ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day. Set for current_opening_hours and current_secondary_opening_hours if there are exceptional hours.
{ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date of this special day.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
},
],
&quot;weekdayDescriptions&quot;: [ # Localized strings describing the opening hours of this place, one string for each day of the week. Will be empty if the hours are unknown or could not be converted to localized text. Example: &quot;Sun: 18:00–06:00&quot;
&quot;A String&quot;,
],
},
&quot;regularSecondaryOpeningHours&quot;: [ # Contains an array of entries for information about regular secondary hours of a business. Secondary hours are different from a business&#x27;s main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place.
{ # Information about business hour of the place.
&quot;openNow&quot;: True or False, # Is this place open right now? Always present unless we lack time-of-day or timezone data for these opening hours.
&quot;periods&quot;: [ # The periods that this place is open during the week. The periods are in chronological order, starting with Sunday in the place-local timezone. An empty (but not absent) value indicates a place that is never open, e.g. because it is closed temporarily for renovations.
{ # A period the place remains in open_now status.
&quot;close&quot;: { # Status changing points. # The time that the place starts to be closed.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
&quot;open&quot;: { # Status changing points. # The time that the place starts to be open.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
},
],
&quot;secondaryHoursType&quot;: &quot;A String&quot;, # A type string used to identify the type of secondary hours.
&quot;specialDays&quot;: [ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day. Set for current_opening_hours and current_secondary_opening_hours if there are exceptional hours.
{ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date of this special day.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
},
],
&quot;weekdayDescriptions&quot;: [ # Localized strings describing the opening hours of this place, one string for each day of the week. Will be empty if the hours are unknown or could not be converted to localized text. Example: &quot;Sun: 18:00–06:00&quot;
&quot;A String&quot;,
],
},
],
&quot;reservable&quot;: True or False, # Specifies if the place supports reservations.
&quot;restroom&quot;: True or False, # Place has restroom.
&quot;reviews&quot;: [ # List of reviews about this place, sorted by relevance.
{ # Information about a review of a place.
&quot;authorAttribution&quot;: { # Information about the author of the UGC data. Used in Photo, and Review. # This review&#x27;s author.
&quot;displayName&quot;: &quot;A String&quot;, # Name of the author of the Photo or Review.
&quot;photoUri&quot;: &quot;A String&quot;, # Profile photo URI of the author of the Photo or Review.
&quot;uri&quot;: &quot;A String&quot;, # URI of the author of the Photo or Review.
},
&quot;name&quot;: &quot;A String&quot;, # A reference representing this place review which may be used to look up this place review again (also called the API &quot;resource&quot; name: places/place_id/reviews/review).
&quot;originalText&quot;: { # Localized variant of a text in a particular language. # The review text in its original language.
&quot;languageCode&quot;: &quot;A String&quot;, # The text&#x27;s BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
&quot;text&quot;: &quot;A String&quot;, # Localized string in the language corresponding to language_code below.
},
&quot;publishTime&quot;: &quot;A String&quot;, # Timestamp for the review.
&quot;rating&quot;: 3.14, # A number between 1.0 and 5.0, also called the number of stars.
&quot;relativePublishTimeDescription&quot;: &quot;A String&quot;, # A string of formatted recent time, expressing the review time relative to the current time in a form appropriate for the language and country.
&quot;text&quot;: { # Localized variant of a text in a particular language. # The localized text of the review.
&quot;languageCode&quot;: &quot;A String&quot;, # The text&#x27;s BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
&quot;text&quot;: &quot;A String&quot;, # Localized string in the language corresponding to language_code below.
},
},
],
&quot;servesBeer&quot;: True or False, # Specifies if the place serves beer.
&quot;servesBreakfast&quot;: True or False, # Specifies if the place serves breakfast.
&quot;servesBrunch&quot;: True or False, # Specifies if the place serves brunch.
&quot;servesCocktails&quot;: True or False, # Place serves cocktails.
&quot;servesCoffee&quot;: True or False, # Place serves coffee.
&quot;servesDessert&quot;: True or False, # Place serves dessert.
&quot;servesDinner&quot;: True or False, # Specifies if the place serves dinner.
&quot;servesLunch&quot;: True or False, # Specifies if the place serves lunch.
&quot;servesVegetarianFood&quot;: True or False, # Specifies if the place serves vegetarian food.
&quot;servesWine&quot;: True or False, # Specifies if the place serves wine.
&quot;shortFormattedAddress&quot;: &quot;A String&quot;, # A short, human-readable address for this place.
&quot;subDestinations&quot;: [ # A list of sub destinations related to the place.
{ # Place resource name and id of sub destinations that relate to the place. For example, different terminals are different destinations of an airport.
&quot;id&quot;: &quot;A String&quot;, # The place id of the sub destination.
&quot;name&quot;: &quot;A String&quot;, # The resource name of the sub destination.
},
],
&quot;takeout&quot;: True or False, # Specifies if the business supports takeout.
&quot;types&quot;: [ # A set of type tags for this result. For example, &quot;political&quot; and &quot;locality&quot;. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types
&quot;A String&quot;,
],
&quot;userRatingCount&quot;: 42, # The total number of reviews (with or without text) for this place.
&quot;utcOffsetMinutes&quot;: 42, # Number of minutes this place&#x27;s timezone is currently offset from UTC. This is expressed in minutes to support timezones that are offset by fractions of an hour, e.g. X hours and 15 minutes.
&quot;viewport&quot;: { # A latitude-longitude viewport, represented as two diagonally opposite `low` and `high` points. A viewport is considered a closed region, i.e. it includes its boundary. The latitude bounds must range between -90 to 90 degrees inclusive, and the longitude bounds must range between -180 to 180 degrees inclusive. Various cases include: - If `low` = `high`, the viewport consists of that single point. - If `low.longitude` &gt; `high.longitude`, the longitude range is inverted (the viewport crosses the 180 degree longitude line). - If `low.longitude` = -180 degrees and `high.longitude` = 180 degrees, the viewport includes all longitudes. - If `low.longitude` = 180 degrees and `high.longitude` = -180 degrees, the longitude range is empty. - If `low.latitude` &gt; `high.latitude`, the latitude range is empty. Both `low` and `high` must be populated, and the represented box cannot be empty (as specified by the definitions above). An empty viewport will result in an error. For example, this viewport fully encloses New York City: { &quot;low&quot;: { &quot;latitude&quot;: 40.477398, &quot;longitude&quot;: -74.259087 }, &quot;high&quot;: { &quot;latitude&quot;: 40.91618, &quot;longitude&quot;: -73.70018 } } # A viewport suitable for displaying the place on an average-sized map.
&quot;high&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # Required. The high point of the viewport.
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
},
&quot;low&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # Required. The low point of the viewport.
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
},
},
&quot;websiteUri&quot;: &quot;A String&quot;, # The authoritative website for this place, e.g. a business&#x27; homepage. Note that for places that are part of a chain (e.g. an IKEA store), this will usually be the website for the individual store, not the overall chain.
}</pre>
</div>
<div class="method">
<code class="details" id="searchNearby">searchNearby(body=None, x__xgafv=None)</code>
<pre>Search for places near locations.
Args:
body: object, The request body.
The object takes the form of:
{ # Request proto for Search Nearby.
&quot;excludedPrimaryTypes&quot;: [ # Excluded primary Place type (e.g. &quot;restaurant&quot; or &quot;gas_station&quot;) from https://developers.google.com/maps/documentation/places/web-service/place-types. If there are any conflicting primary types, i.e. a type appears in both included_primary_types and excluded_primary_types, an INVALID_ARGUMENT error is returned. If a Place type is specified with multiple type restrictions, only places that satisfy all of the restrictions are returned. For example, if we have {included_types = [&quot;restaurant&quot;], excluded_primary_types = [&quot;restaurant&quot;]}, the returned places provide &quot;restaurant&quot; related services but do not operate primarily as &quot;restaurants&quot;.
&quot;A String&quot;,
],
&quot;excludedTypes&quot;: [ # Excluded Place type (eg, &quot;restaurant&quot; or &quot;gas_station&quot;) from https://developers.google.com/maps/documentation/places/web-service/place-types. If the client provides both included_types (e.g. restaurant) and excluded_types (e.g. cafe), then the response should include places that are restaurant but not cafe. The response includes places that match at least one of the included_types and none of the excluded_types. If there are any conflicting types, i.e. a type appears in both included_types and excluded_types, an INVALID_ARGUMENT error is returned. If a Place type is specified with multiple type restrictions, only places that satisfy all of the restrictions are returned. For example, if we have {included_types = [&quot;restaurant&quot;], excluded_primary_types = [&quot;restaurant&quot;]}, the returned places provide &quot;restaurant&quot; related services but do not operate primarily as &quot;restaurants&quot;.
&quot;A String&quot;,
],
&quot;includedPrimaryTypes&quot;: [ # Included primary Place type (e.g. &quot;restaurant&quot; or &quot;gas_station&quot;) from https://developers.google.com/maps/documentation/places/web-service/place-types. A place can only have a single primary type from the supported types table associated with it. If there are any conflicting primary types, i.e. a type appears in both included_primary_types and excluded_primary_types, an INVALID_ARGUMENT error is returned. If a Place type is specified with multiple type restrictions, only places that satisfy all of the restrictions are returned. For example, if we have {included_types = [&quot;restaurant&quot;], excluded_primary_types = [&quot;restaurant&quot;]}, the returned places provide &quot;restaurant&quot; related services but do not operate primarily as &quot;restaurants&quot;.
&quot;A String&quot;,
],
&quot;includedTypes&quot;: [ # Included Place type (eg, &quot;restaurant&quot; or &quot;gas_station&quot;) from https://developers.google.com/maps/documentation/places/web-service/place-types. If there are any conflicting types, i.e. a type appears in both included_types and excluded_types, an INVALID_ARGUMENT error is returned. If a Place type is specified with multiple type restrictions, only places that satisfy all of the restrictions are returned. For example, if we have {included_types = [&quot;restaurant&quot;], excluded_primary_types = [&quot;restaurant&quot;]}, the returned places provide &quot;restaurant&quot; related services but do not operate primarily as &quot;restaurants&quot;.
&quot;A String&quot;,
],
&quot;languageCode&quot;: &quot;A String&quot;, # Place details will be displayed with the preferred language if available. If the language code is unspecified or unrecognized, place details of any language may be returned, with a preference for English if such details exist. Current list of supported languages: https://developers.google.com/maps/faq#languagesupport.
&quot;locationRestriction&quot;: { # The region to search. # Required. The region to search.
&quot;circle&quot;: { # Circle with a LatLng as center and radius. # A circle defined by center point and radius.
&quot;center&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # Required. Center latitude and longitude. The range of latitude must be within [-90.0, 90.0]. The range of the longitude must be within [-180.0, 180.0].
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
},
&quot;radius&quot;: 3.14, # Required. Radius measured in meters. The radius must be within [0.0, 50000.0].
},
},
&quot;maxResultCount&quot;: 42, # Maximum number of results to return. It must be between 1 and 20 (default), inclusively. If the number is unset, it falls back to the upper limit. If the number is set to negative or exceeds the upper limit, an INVALID_ARGUMENT error is returned.
&quot;rankPreference&quot;: &quot;A String&quot;, # How results will be ranked in the response.
&quot;regionCode&quot;: &quot;A String&quot;, # The Unicode country/region code (CLDR) of the location where the request is coming from. This parameter is used to display the place details, like region-specific place name, if available. The parameter can affect results based on applicable law. For more information, see https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html. Note that 3-digit region codes are not currently supported.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response proto for Search Nearby.
&quot;places&quot;: [ # A list of places that meets user&#x27;s requirements like places types, number of places and specific location restriction.
{ # All the information representing a Place.
&quot;accessibilityOptions&quot;: { # Information about the accessibility options a place offers. # Information about the accessibility options a place offers.
&quot;wheelchairAccessibleEntrance&quot;: True or False, # Places has wheelchair accessible entrance.
&quot;wheelchairAccessibleParking&quot;: True or False, # Place offers wheelchair accessible parking.
&quot;wheelchairAccessibleRestroom&quot;: True or False, # Place has wheelchair accessible restroom.
&quot;wheelchairAccessibleSeating&quot;: True or False, # Place has wheelchair accessible seating.
},
&quot;addressComponents&quot;: [ # Repeated components for each locality level. Note the following facts about the address_components[] array: - The array of address components may contain more components than the formatted_address. - The array does not necessarily include all the political entities that contain an address, apart from those included in the formatted_address. To retrieve all the political entities that contain a specific address, you should use reverse geocoding, passing the latitude/longitude of the address as a parameter to the request. - The format of the response is not guaranteed to remain the same between requests. In particular, the number of address_components varies based on the address requested and can change over time for the same address. A component can change position in the array. The type of the component can change. A particular component may be missing in a later response.
{ # The structured components that form the formatted address, if this information is available.
&quot;languageCode&quot;: &quot;A String&quot;, # The language used to format this components, in CLDR notation.
&quot;longText&quot;: &quot;A String&quot;, # The full text description or name of the address component. For example, an address component for the country Australia may have a long_name of &quot;Australia&quot;.
&quot;shortText&quot;: &quot;A String&quot;, # An abbreviated textual name for the address component, if available. For example, an address component for the country of Australia may have a short_name of &quot;AU&quot;.
&quot;types&quot;: [ # An array indicating the type(s) of the address component.
&quot;A String&quot;,
],
},
],
&quot;adrFormatAddress&quot;: &quot;A String&quot;, # The place&#x27;s address in adr microformat: http://microformats.org/wiki/adr.
&quot;allowsDogs&quot;: True or False, # Place allows dogs.
&quot;attributions&quot;: [ # A set of data provider that must be shown with this result.
{ # Information about data providers of this place.
&quot;provider&quot;: &quot;A String&quot;, # Name of the Place&#x27;s data provider.
&quot;providerUri&quot;: &quot;A String&quot;, # URI to the Place&#x27;s data provider.
},
],
&quot;businessStatus&quot;: &quot;A String&quot;, # The business status for the place.
&quot;curbsidePickup&quot;: True or False, # Specifies if the business supports curbside pickup.
&quot;currentOpeningHours&quot;: { # Information about business hour of the place. # The hours of operation for the next seven days (including today). The time period starts at midnight on the date of the request and ends at 11:59 pm six days later. This field includes the special_days subfield of all hours, set for dates that have exceptional hours.
&quot;openNow&quot;: True or False, # Is this place open right now? Always present unless we lack time-of-day or timezone data for these opening hours.
&quot;periods&quot;: [ # The periods that this place is open during the week. The periods are in chronological order, starting with Sunday in the place-local timezone. An empty (but not absent) value indicates a place that is never open, e.g. because it is closed temporarily for renovations.
{ # A period the place remains in open_now status.
&quot;close&quot;: { # Status changing points. # The time that the place starts to be closed.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
&quot;open&quot;: { # Status changing points. # The time that the place starts to be open.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
},
],
&quot;secondaryHoursType&quot;: &quot;A String&quot;, # A type string used to identify the type of secondary hours.
&quot;specialDays&quot;: [ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day. Set for current_opening_hours and current_secondary_opening_hours if there are exceptional hours.
{ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date of this special day.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
},
],
&quot;weekdayDescriptions&quot;: [ # Localized strings describing the opening hours of this place, one string for each day of the week. Will be empty if the hours are unknown or could not be converted to localized text. Example: &quot;Sun: 18:00–06:00&quot;
&quot;A String&quot;,
],
},
&quot;currentSecondaryOpeningHours&quot;: [ # Contains an array of entries for the next seven days including information about secondary hours of a business. Secondary hours are different from a business&#x27;s main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place. This field includes the special_days subfield of all hours, set for dates that have exceptional hours.
{ # Information about business hour of the place.
&quot;openNow&quot;: True or False, # Is this place open right now? Always present unless we lack time-of-day or timezone data for these opening hours.
&quot;periods&quot;: [ # The periods that this place is open during the week. The periods are in chronological order, starting with Sunday in the place-local timezone. An empty (but not absent) value indicates a place that is never open, e.g. because it is closed temporarily for renovations.
{ # A period the place remains in open_now status.
&quot;close&quot;: { # Status changing points. # The time that the place starts to be closed.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
&quot;open&quot;: { # Status changing points. # The time that the place starts to be open.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
},
],
&quot;secondaryHoursType&quot;: &quot;A String&quot;, # A type string used to identify the type of secondary hours.
&quot;specialDays&quot;: [ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day. Set for current_opening_hours and current_secondary_opening_hours if there are exceptional hours.
{ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date of this special day.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
},
],
&quot;weekdayDescriptions&quot;: [ # Localized strings describing the opening hours of this place, one string for each day of the week. Will be empty if the hours are unknown or could not be converted to localized text. Example: &quot;Sun: 18:00–06:00&quot;
&quot;A String&quot;,
],
},
],
&quot;delivery&quot;: True or False, # Specifies if the business supports delivery.
&quot;dineIn&quot;: True or False, # Specifies if the business supports indoor or outdoor seating options.
&quot;displayName&quot;: { # Localized variant of a text in a particular language. # The localized name of the place, suitable as a short human-readable description. For example, &quot;Google Sydney&quot;, &quot;Starbucks&quot;, &quot;Pyrmont&quot;, etc.
&quot;languageCode&quot;: &quot;A String&quot;, # The text&#x27;s BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
&quot;text&quot;: &quot;A String&quot;, # Localized string in the language corresponding to language_code below.
},
&quot;editorialSummary&quot;: { # Localized variant of a text in a particular language. # Contains a summary of the place. A summary is comprised of a textual overview, and also includes the language code for these if applicable. Summary text must be presented as-is and can not be modified or altered.
&quot;languageCode&quot;: &quot;A String&quot;, # The text&#x27;s BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
&quot;text&quot;: &quot;A String&quot;, # Localized string in the language corresponding to language_code below.
},
&quot;evChargeOptions&quot;: { # Information about the EV Charge Station hosted in Place. Terminology follows https://afdc.energy.gov/fuels/electricity_infrastructure.html One port could charge one car at a time. One port has one or more connectors. One station has one or more ports. # Information of ev charging options.
&quot;connectorAggregation&quot;: [ # A list of EV charging connector aggregations that contain connectors of the same type and same charge rate.
{ # EV charging information grouped by [type, max_charge_rate_kw]. Shows EV charge aggregation of connectors that have the same type and max charge rate in kw.
&quot;availabilityLastUpdateTime&quot;: &quot;A String&quot;, # The timestamp when the connector availability information in this aggregation was last updated.
&quot;availableCount&quot;: 42, # Number of connectors in this aggregation that are currently available.
&quot;count&quot;: 42, # Number of connectors in this aggregation.
&quot;maxChargeRateKw&quot;: 3.14, # The static max charging rate in kw of each connector in the aggregation.
&quot;outOfServiceCount&quot;: 42, # Number of connectors in this aggregation that are currently out of service.
&quot;type&quot;: &quot;A String&quot;, # The connector type of this aggregation.
},
],
&quot;connectorCount&quot;: 42, # Number of connectors at this station. However, because some ports can have multiple connectors but only be able to charge one car at a time (e.g.) the number of connectors may be greater than the total number of cars which can charge simultaneously.
},
&quot;formattedAddress&quot;: &quot;A String&quot;, # A full, human-readable address for this place.
&quot;fuelOptions&quot;: { # The most recent information about fuel options in a gas station. This information is updated regularly. # The most recent information about fuel options in a gas station. This information is updated regularly.
&quot;fuelPrices&quot;: [ # The last known fuel price for each type of fuel this station has. There is one entry per fuel type this station has. Order is not important.
{ # Fuel price information for a given type.
&quot;price&quot;: { # Represents an amount of money with its currency type. # The price of the fuel.
&quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
&quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
&quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
},
&quot;type&quot;: &quot;A String&quot;, # The type of fuel.
&quot;updateTime&quot;: &quot;A String&quot;, # The time the fuel price was last updated.
},
],
},
&quot;goodForChildren&quot;: True or False, # Place is good for children.
&quot;goodForGroups&quot;: True or False, # Place accommodates groups.
&quot;goodForWatchingSports&quot;: True or False, # Place is suitable for watching sports.
&quot;googleMapsUri&quot;: &quot;A String&quot;, # A URL providing more information about this place.
&quot;iconBackgroundColor&quot;: &quot;A String&quot;, # Background color for icon_mask in hex format, e.g. #909CE1.
&quot;iconMaskBaseUri&quot;: &quot;A String&quot;, # A truncated URL to an icon mask. User can access different icon type by appending type suffix to the end (eg, &quot;.svg&quot; or &quot;.png&quot;).
&quot;id&quot;: &quot;A String&quot;, # The unique identifier of a place.
&quot;internationalPhoneNumber&quot;: &quot;A String&quot;, # A human-readable phone number for the place, in international format.
&quot;liveMusic&quot;: True or False, # Place provides live music.
&quot;location&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # The position of this place.
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
},
&quot;menuForChildren&quot;: True or False, # Place has a children&#x27;s menu.
&quot;name&quot;: &quot;A String&quot;, # An ID representing this place which may be used to look up this place again (a.k.a. the API &quot;resource&quot; name: places/place_id).
&quot;nationalPhoneNumber&quot;: &quot;A String&quot;, # A human-readable phone number for the place, in national format.
&quot;outdoorSeating&quot;: True or False, # Place provides outdoor seating.
&quot;parkingOptions&quot;: { # Information about parking options for the place. A parking lot could support more than one option at the same time. # Options of parking provided by the place.
&quot;freeGarageParking&quot;: True or False, # Place offers free garage parking.
&quot;freeParkingLot&quot;: True or False, # Place offers free parking lots.
&quot;freeStreetParking&quot;: True or False, # Place offers free street parking.
&quot;paidGarageParking&quot;: True or False, # Place offers paid garage parking.
&quot;paidParkingLot&quot;: True or False, # Place offers paid parking lots.
&quot;paidStreetParking&quot;: True or False, # Place offers paid street parking.
&quot;valetParking&quot;: True or False, # Place offers valet parking.
},
&quot;paymentOptions&quot;: { # Payment options the place accepts. # Payment options the place accepts. If a payment option data is not available, the payment option field will be unset.
&quot;acceptsCashOnly&quot;: True or False, # Place accepts cash only as payment. Places with this attribute may still accept other payment methods.
&quot;acceptsCreditCards&quot;: True or False, # Place accepts credit cards as payment.
&quot;acceptsDebitCards&quot;: True or False, # Place accepts debit cards as payment.
&quot;acceptsNfc&quot;: True or False, # Place accepts NFC payments.
},
&quot;photos&quot;: [ # Information (including references) about photos of this place.
{ # Information about a photo of a place.
&quot;authorAttributions&quot;: [ # This photo&#x27;s authors.
{ # Information about the author of the UGC data. Used in Photo, and Review.
&quot;displayName&quot;: &quot;A String&quot;, # Name of the author of the Photo or Review.
&quot;photoUri&quot;: &quot;A String&quot;, # Profile photo URI of the author of the Photo or Review.
&quot;uri&quot;: &quot;A String&quot;, # URI of the author of the Photo or Review.
},
],
&quot;heightPx&quot;: 42, # The maximum available height, in pixels.
&quot;name&quot;: &quot;A String&quot;, # Identifier. A reference representing this place photo which may be used to look up this place photo again (a.k.a. the API &quot;resource&quot; name: places/{place_id}/photos/{photo}).
&quot;widthPx&quot;: 42, # The maximum available width, in pixels.
},
],
&quot;plusCode&quot;: { # 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. # Plus code of the place location lat/long.
&quot;compoundCode&quot;: &quot;A String&quot;, # Place&#x27;s compound code, such as &quot;33GV+HQ, Ramberg, Norway&quot;, containing the suffix of the global code and replacing the prefix with a formatted name of a reference entity.
&quot;globalCode&quot;: &quot;A String&quot;, # Place&#x27;s global (full) code, such as &quot;9FWM33GV+HQ&quot;, representing an 1/8000 by 1/8000 degree area (~14 by 14 meters).
},
&quot;priceLevel&quot;: &quot;A String&quot;, # Price level of the place.
&quot;primaryType&quot;: &quot;A String&quot;, # The primary type of the given result. This type must one of the Places API supported types. For example, &quot;restaurant&quot;, &quot;cafe&quot;, &quot;airport&quot;, etc. A place can only have a single primary type. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types
&quot;primaryTypeDisplayName&quot;: { # Localized variant of a text in a particular language. # The display name of the primary type, localized to the request language if applicable. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types
&quot;languageCode&quot;: &quot;A String&quot;, # The text&#x27;s BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
&quot;text&quot;: &quot;A String&quot;, # Localized string in the language corresponding to language_code below.
},
&quot;rating&quot;: 3.14, # A rating between 1.0 and 5.0, based on user reviews of this place.
&quot;regularOpeningHours&quot;: { # Information about business hour of the place. # The regular hours of operation.
&quot;openNow&quot;: True or False, # Is this place open right now? Always present unless we lack time-of-day or timezone data for these opening hours.
&quot;periods&quot;: [ # The periods that this place is open during the week. The periods are in chronological order, starting with Sunday in the place-local timezone. An empty (but not absent) value indicates a place that is never open, e.g. because it is closed temporarily for renovations.
{ # A period the place remains in open_now status.
&quot;close&quot;: { # Status changing points. # The time that the place starts to be closed.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
&quot;open&quot;: { # Status changing points. # The time that the place starts to be open.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
},
],
&quot;secondaryHoursType&quot;: &quot;A String&quot;, # A type string used to identify the type of secondary hours.
&quot;specialDays&quot;: [ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day. Set for current_opening_hours and current_secondary_opening_hours if there are exceptional hours.
{ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date of this special day.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
},
],
&quot;weekdayDescriptions&quot;: [ # Localized strings describing the opening hours of this place, one string for each day of the week. Will be empty if the hours are unknown or could not be converted to localized text. Example: &quot;Sun: 18:00–06:00&quot;
&quot;A String&quot;,
],
},
&quot;regularSecondaryOpeningHours&quot;: [ # Contains an array of entries for information about regular secondary hours of a business. Secondary hours are different from a business&#x27;s main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place.
{ # Information about business hour of the place.
&quot;openNow&quot;: True or False, # Is this place open right now? Always present unless we lack time-of-day or timezone data for these opening hours.
&quot;periods&quot;: [ # The periods that this place is open during the week. The periods are in chronological order, starting with Sunday in the place-local timezone. An empty (but not absent) value indicates a place that is never open, e.g. because it is closed temporarily for renovations.
{ # A period the place remains in open_now status.
&quot;close&quot;: { # Status changing points. # The time that the place starts to be closed.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
&quot;open&quot;: { # Status changing points. # The time that the place starts to be open.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
},
],
&quot;secondaryHoursType&quot;: &quot;A String&quot;, # A type string used to identify the type of secondary hours.
&quot;specialDays&quot;: [ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day. Set for current_opening_hours and current_secondary_opening_hours if there are exceptional hours.
{ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date of this special day.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
},
],
&quot;weekdayDescriptions&quot;: [ # Localized strings describing the opening hours of this place, one string for each day of the week. Will be empty if the hours are unknown or could not be converted to localized text. Example: &quot;Sun: 18:00–06:00&quot;
&quot;A String&quot;,
],
},
],
&quot;reservable&quot;: True or False, # Specifies if the place supports reservations.
&quot;restroom&quot;: True or False, # Place has restroom.
&quot;reviews&quot;: [ # List of reviews about this place, sorted by relevance.
{ # Information about a review of a place.
&quot;authorAttribution&quot;: { # Information about the author of the UGC data. Used in Photo, and Review. # This review&#x27;s author.
&quot;displayName&quot;: &quot;A String&quot;, # Name of the author of the Photo or Review.
&quot;photoUri&quot;: &quot;A String&quot;, # Profile photo URI of the author of the Photo or Review.
&quot;uri&quot;: &quot;A String&quot;, # URI of the author of the Photo or Review.
},
&quot;name&quot;: &quot;A String&quot;, # A reference representing this place review which may be used to look up this place review again (also called the API &quot;resource&quot; name: places/place_id/reviews/review).
&quot;originalText&quot;: { # Localized variant of a text in a particular language. # The review text in its original language.
&quot;languageCode&quot;: &quot;A String&quot;, # The text&#x27;s BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
&quot;text&quot;: &quot;A String&quot;, # Localized string in the language corresponding to language_code below.
},
&quot;publishTime&quot;: &quot;A String&quot;, # Timestamp for the review.
&quot;rating&quot;: 3.14, # A number between 1.0 and 5.0, also called the number of stars.
&quot;relativePublishTimeDescription&quot;: &quot;A String&quot;, # A string of formatted recent time, expressing the review time relative to the current time in a form appropriate for the language and country.
&quot;text&quot;: { # Localized variant of a text in a particular language. # The localized text of the review.
&quot;languageCode&quot;: &quot;A String&quot;, # The text&#x27;s BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
&quot;text&quot;: &quot;A String&quot;, # Localized string in the language corresponding to language_code below.
},
},
],
&quot;servesBeer&quot;: True or False, # Specifies if the place serves beer.
&quot;servesBreakfast&quot;: True or False, # Specifies if the place serves breakfast.
&quot;servesBrunch&quot;: True or False, # Specifies if the place serves brunch.
&quot;servesCocktails&quot;: True or False, # Place serves cocktails.
&quot;servesCoffee&quot;: True or False, # Place serves coffee.
&quot;servesDessert&quot;: True or False, # Place serves dessert.
&quot;servesDinner&quot;: True or False, # Specifies if the place serves dinner.
&quot;servesLunch&quot;: True or False, # Specifies if the place serves lunch.
&quot;servesVegetarianFood&quot;: True or False, # Specifies if the place serves vegetarian food.
&quot;servesWine&quot;: True or False, # Specifies if the place serves wine.
&quot;shortFormattedAddress&quot;: &quot;A String&quot;, # A short, human-readable address for this place.
&quot;subDestinations&quot;: [ # A list of sub destinations related to the place.
{ # Place resource name and id of sub destinations that relate to the place. For example, different terminals are different destinations of an airport.
&quot;id&quot;: &quot;A String&quot;, # The place id of the sub destination.
&quot;name&quot;: &quot;A String&quot;, # The resource name of the sub destination.
},
],
&quot;takeout&quot;: True or False, # Specifies if the business supports takeout.
&quot;types&quot;: [ # A set of type tags for this result. For example, &quot;political&quot; and &quot;locality&quot;. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types
&quot;A String&quot;,
],
&quot;userRatingCount&quot;: 42, # The total number of reviews (with or without text) for this place.
&quot;utcOffsetMinutes&quot;: 42, # Number of minutes this place&#x27;s timezone is currently offset from UTC. This is expressed in minutes to support timezones that are offset by fractions of an hour, e.g. X hours and 15 minutes.
&quot;viewport&quot;: { # A latitude-longitude viewport, represented as two diagonally opposite `low` and `high` points. A viewport is considered a closed region, i.e. it includes its boundary. The latitude bounds must range between -90 to 90 degrees inclusive, and the longitude bounds must range between -180 to 180 degrees inclusive. Various cases include: - If `low` = `high`, the viewport consists of that single point. - If `low.longitude` &gt; `high.longitude`, the longitude range is inverted (the viewport crosses the 180 degree longitude line). - If `low.longitude` = -180 degrees and `high.longitude` = 180 degrees, the viewport includes all longitudes. - If `low.longitude` = 180 degrees and `high.longitude` = -180 degrees, the longitude range is empty. - If `low.latitude` &gt; `high.latitude`, the latitude range is empty. Both `low` and `high` must be populated, and the represented box cannot be empty (as specified by the definitions above). An empty viewport will result in an error. For example, this viewport fully encloses New York City: { &quot;low&quot;: { &quot;latitude&quot;: 40.477398, &quot;longitude&quot;: -74.259087 }, &quot;high&quot;: { &quot;latitude&quot;: 40.91618, &quot;longitude&quot;: -73.70018 } } # A viewport suitable for displaying the place on an average-sized map.
&quot;high&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # Required. The high point of the viewport.
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
},
&quot;low&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # Required. The low point of the viewport.
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
},
},
&quot;websiteUri&quot;: &quot;A String&quot;, # The authoritative website for this place, e.g. a business&#x27; homepage. Note that for places that are part of a chain (e.g. an IKEA store), this will usually be the website for the individual store, not the overall chain.
},
],
}</pre>
</div>
<div class="method">
<code class="details" id="searchText">searchText(body=None, x__xgafv=None)</code>
<pre>Text query based place search.
Args:
body: object, The request body.
The object takes the form of:
{ # Request proto for SearchText.
&quot;includedType&quot;: &quot;A String&quot;, # The requested place type. Full list of types supported: https://developers.google.com/maps/documentation/places/web-service/place-types. Only support one included type.
&quot;languageCode&quot;: &quot;A String&quot;, # Place details will be displayed with the preferred language if available. If the language code is unspecified or unrecognized, place details of any language may be returned, with a preference for English if such details exist. Current list of supported languages: https://developers.google.com/maps/faq#languagesupport.
&quot;locationBias&quot;: { # The region to search. This location serves as a bias which means results around given location might be returned. # The region to search. This location serves as a bias which means results around given location might be returned. Cannot be set along with location_restriction.
&quot;circle&quot;: { # Circle with a LatLng as center and radius. # A circle defined by center point and radius.
&quot;center&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # Required. Center latitude and longitude. The range of latitude must be within [-90.0, 90.0]. The range of the longitude must be within [-180.0, 180.0].
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
},
&quot;radius&quot;: 3.14, # Required. Radius measured in meters. The radius must be within [0.0, 50000.0].
},
&quot;rectangle&quot;: { # A latitude-longitude viewport, represented as two diagonally opposite `low` and `high` points. A viewport is considered a closed region, i.e. it includes its boundary. The latitude bounds must range between -90 to 90 degrees inclusive, and the longitude bounds must range between -180 to 180 degrees inclusive. Various cases include: - If `low` = `high`, the viewport consists of that single point. - If `low.longitude` &gt; `high.longitude`, the longitude range is inverted (the viewport crosses the 180 degree longitude line). - If `low.longitude` = -180 degrees and `high.longitude` = 180 degrees, the viewport includes all longitudes. - If `low.longitude` = 180 degrees and `high.longitude` = -180 degrees, the longitude range is empty. - If `low.latitude` &gt; `high.latitude`, the latitude range is empty. Both `low` and `high` must be populated, and the represented box cannot be empty (as specified by the definitions above). An empty viewport will result in an error. For example, this viewport fully encloses New York City: { &quot;low&quot;: { &quot;latitude&quot;: 40.477398, &quot;longitude&quot;: -74.259087 }, &quot;high&quot;: { &quot;latitude&quot;: 40.91618, &quot;longitude&quot;: -73.70018 } } # A rectangle box defined by northeast and southwest corner.
&quot;high&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # Required. The high point of the viewport.
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
},
&quot;low&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # Required. The low point of the viewport.
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
},
},
},
&quot;locationRestriction&quot;: { # The region to search. This location serves as a restriction which means results outside given location will not be returned. # The region to search. This location serves as a restriction which means results outside given location will not be returned. Cannot be set along with location_bias.
&quot;rectangle&quot;: { # A latitude-longitude viewport, represented as two diagonally opposite `low` and `high` points. A viewport is considered a closed region, i.e. it includes its boundary. The latitude bounds must range between -90 to 90 degrees inclusive, and the longitude bounds must range between -180 to 180 degrees inclusive. Various cases include: - If `low` = `high`, the viewport consists of that single point. - If `low.longitude` &gt; `high.longitude`, the longitude range is inverted (the viewport crosses the 180 degree longitude line). - If `low.longitude` = -180 degrees and `high.longitude` = 180 degrees, the viewport includes all longitudes. - If `low.longitude` = 180 degrees and `high.longitude` = -180 degrees, the longitude range is empty. - If `low.latitude` &gt; `high.latitude`, the latitude range is empty. Both `low` and `high` must be populated, and the represented box cannot be empty (as specified by the definitions above). An empty viewport will result in an error. For example, this viewport fully encloses New York City: { &quot;low&quot;: { &quot;latitude&quot;: 40.477398, &quot;longitude&quot;: -74.259087 }, &quot;high&quot;: { &quot;latitude&quot;: 40.91618, &quot;longitude&quot;: -73.70018 } } # A rectangle box defined by northeast and southwest corner.
&quot;high&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # Required. The high point of the viewport.
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
},
&quot;low&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # Required. The low point of the viewport.
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
},
},
},
&quot;maxResultCount&quot;: 42, # Maximum number of results to return. It must be between 1 and 20, inclusively. The default is 20. If the number is unset, it falls back to the upper limit. If the number is set to negative or exceeds the upper limit, an INVALID_ARGUMENT error is returned.
&quot;minRating&quot;: 3.14, # Filter out results whose average user rating is strictly less than this limit. A valid value must be an float between 0 and 5 (inclusively) at a 0.5 cadence i.e. [0, 0.5, 1.0, ... , 5.0] inclusively. This is to keep parity with LocalRefinement_UserRating. The input rating will round up to the nearest 0.5(ceiling). For instance, a rating of 0.6 will eliminate all results with a less than 1.0 rating.
&quot;openNow&quot;: True or False, # Used to restrict the search to places that are currently open. The default is false.
&quot;priceLevels&quot;: [ # Used to restrict the search to places that are marked as certain price levels. Users can choose any combinations of price levels. Default to select all price levels.
&quot;A String&quot;,
],
&quot;rankPreference&quot;: &quot;A String&quot;, # How results will be ranked in the response.
&quot;regionCode&quot;: &quot;A String&quot;, # The Unicode country/region code (CLDR) of the location where the request is coming from. This parameter is used to display the place details, like region-specific place name, if available. The parameter can affect results based on applicable law. For more information, see https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html. Note that 3-digit region codes are not currently supported.
&quot;strictTypeFiltering&quot;: True or False, # Used to set strict type filtering for included_type. If set to true, only results of the same type will be returned. Default to false.
&quot;textQuery&quot;: &quot;A String&quot;, # Required. The text query for textual search.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response proto for SearchText.
&quot;places&quot;: [ # A list of places that meet the user&#x27;s text search criteria.
{ # All the information representing a Place.
&quot;accessibilityOptions&quot;: { # Information about the accessibility options a place offers. # Information about the accessibility options a place offers.
&quot;wheelchairAccessibleEntrance&quot;: True or False, # Places has wheelchair accessible entrance.
&quot;wheelchairAccessibleParking&quot;: True or False, # Place offers wheelchair accessible parking.
&quot;wheelchairAccessibleRestroom&quot;: True or False, # Place has wheelchair accessible restroom.
&quot;wheelchairAccessibleSeating&quot;: True or False, # Place has wheelchair accessible seating.
},
&quot;addressComponents&quot;: [ # Repeated components for each locality level. Note the following facts about the address_components[] array: - The array of address components may contain more components than the formatted_address. - The array does not necessarily include all the political entities that contain an address, apart from those included in the formatted_address. To retrieve all the political entities that contain a specific address, you should use reverse geocoding, passing the latitude/longitude of the address as a parameter to the request. - The format of the response is not guaranteed to remain the same between requests. In particular, the number of address_components varies based on the address requested and can change over time for the same address. A component can change position in the array. The type of the component can change. A particular component may be missing in a later response.
{ # The structured components that form the formatted address, if this information is available.
&quot;languageCode&quot;: &quot;A String&quot;, # The language used to format this components, in CLDR notation.
&quot;longText&quot;: &quot;A String&quot;, # The full text description or name of the address component. For example, an address component for the country Australia may have a long_name of &quot;Australia&quot;.
&quot;shortText&quot;: &quot;A String&quot;, # An abbreviated textual name for the address component, if available. For example, an address component for the country of Australia may have a short_name of &quot;AU&quot;.
&quot;types&quot;: [ # An array indicating the type(s) of the address component.
&quot;A String&quot;,
],
},
],
&quot;adrFormatAddress&quot;: &quot;A String&quot;, # The place&#x27;s address in adr microformat: http://microformats.org/wiki/adr.
&quot;allowsDogs&quot;: True or False, # Place allows dogs.
&quot;attributions&quot;: [ # A set of data provider that must be shown with this result.
{ # Information about data providers of this place.
&quot;provider&quot;: &quot;A String&quot;, # Name of the Place&#x27;s data provider.
&quot;providerUri&quot;: &quot;A String&quot;, # URI to the Place&#x27;s data provider.
},
],
&quot;businessStatus&quot;: &quot;A String&quot;, # The business status for the place.
&quot;curbsidePickup&quot;: True or False, # Specifies if the business supports curbside pickup.
&quot;currentOpeningHours&quot;: { # Information about business hour of the place. # The hours of operation for the next seven days (including today). The time period starts at midnight on the date of the request and ends at 11:59 pm six days later. This field includes the special_days subfield of all hours, set for dates that have exceptional hours.
&quot;openNow&quot;: True or False, # Is this place open right now? Always present unless we lack time-of-day or timezone data for these opening hours.
&quot;periods&quot;: [ # The periods that this place is open during the week. The periods are in chronological order, starting with Sunday in the place-local timezone. An empty (but not absent) value indicates a place that is never open, e.g. because it is closed temporarily for renovations.
{ # A period the place remains in open_now status.
&quot;close&quot;: { # Status changing points. # The time that the place starts to be closed.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
&quot;open&quot;: { # Status changing points. # The time that the place starts to be open.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
},
],
&quot;secondaryHoursType&quot;: &quot;A String&quot;, # A type string used to identify the type of secondary hours.
&quot;specialDays&quot;: [ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day. Set for current_opening_hours and current_secondary_opening_hours if there are exceptional hours.
{ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date of this special day.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
},
],
&quot;weekdayDescriptions&quot;: [ # Localized strings describing the opening hours of this place, one string for each day of the week. Will be empty if the hours are unknown or could not be converted to localized text. Example: &quot;Sun: 18:00–06:00&quot;
&quot;A String&quot;,
],
},
&quot;currentSecondaryOpeningHours&quot;: [ # Contains an array of entries for the next seven days including information about secondary hours of a business. Secondary hours are different from a business&#x27;s main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place. This field includes the special_days subfield of all hours, set for dates that have exceptional hours.
{ # Information about business hour of the place.
&quot;openNow&quot;: True or False, # Is this place open right now? Always present unless we lack time-of-day or timezone data for these opening hours.
&quot;periods&quot;: [ # The periods that this place is open during the week. The periods are in chronological order, starting with Sunday in the place-local timezone. An empty (but not absent) value indicates a place that is never open, e.g. because it is closed temporarily for renovations.
{ # A period the place remains in open_now status.
&quot;close&quot;: { # Status changing points. # The time that the place starts to be closed.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
&quot;open&quot;: { # Status changing points. # The time that the place starts to be open.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
},
],
&quot;secondaryHoursType&quot;: &quot;A String&quot;, # A type string used to identify the type of secondary hours.
&quot;specialDays&quot;: [ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day. Set for current_opening_hours and current_secondary_opening_hours if there are exceptional hours.
{ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date of this special day.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
},
],
&quot;weekdayDescriptions&quot;: [ # Localized strings describing the opening hours of this place, one string for each day of the week. Will be empty if the hours are unknown or could not be converted to localized text. Example: &quot;Sun: 18:00–06:00&quot;
&quot;A String&quot;,
],
},
],
&quot;delivery&quot;: True or False, # Specifies if the business supports delivery.
&quot;dineIn&quot;: True or False, # Specifies if the business supports indoor or outdoor seating options.
&quot;displayName&quot;: { # Localized variant of a text in a particular language. # The localized name of the place, suitable as a short human-readable description. For example, &quot;Google Sydney&quot;, &quot;Starbucks&quot;, &quot;Pyrmont&quot;, etc.
&quot;languageCode&quot;: &quot;A String&quot;, # The text&#x27;s BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
&quot;text&quot;: &quot;A String&quot;, # Localized string in the language corresponding to language_code below.
},
&quot;editorialSummary&quot;: { # Localized variant of a text in a particular language. # Contains a summary of the place. A summary is comprised of a textual overview, and also includes the language code for these if applicable. Summary text must be presented as-is and can not be modified or altered.
&quot;languageCode&quot;: &quot;A String&quot;, # The text&#x27;s BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
&quot;text&quot;: &quot;A String&quot;, # Localized string in the language corresponding to language_code below.
},
&quot;evChargeOptions&quot;: { # Information about the EV Charge Station hosted in Place. Terminology follows https://afdc.energy.gov/fuels/electricity_infrastructure.html One port could charge one car at a time. One port has one or more connectors. One station has one or more ports. # Information of ev charging options.
&quot;connectorAggregation&quot;: [ # A list of EV charging connector aggregations that contain connectors of the same type and same charge rate.
{ # EV charging information grouped by [type, max_charge_rate_kw]. Shows EV charge aggregation of connectors that have the same type and max charge rate in kw.
&quot;availabilityLastUpdateTime&quot;: &quot;A String&quot;, # The timestamp when the connector availability information in this aggregation was last updated.
&quot;availableCount&quot;: 42, # Number of connectors in this aggregation that are currently available.
&quot;count&quot;: 42, # Number of connectors in this aggregation.
&quot;maxChargeRateKw&quot;: 3.14, # The static max charging rate in kw of each connector in the aggregation.
&quot;outOfServiceCount&quot;: 42, # Number of connectors in this aggregation that are currently out of service.
&quot;type&quot;: &quot;A String&quot;, # The connector type of this aggregation.
},
],
&quot;connectorCount&quot;: 42, # Number of connectors at this station. However, because some ports can have multiple connectors but only be able to charge one car at a time (e.g.) the number of connectors may be greater than the total number of cars which can charge simultaneously.
},
&quot;formattedAddress&quot;: &quot;A String&quot;, # A full, human-readable address for this place.
&quot;fuelOptions&quot;: { # The most recent information about fuel options in a gas station. This information is updated regularly. # The most recent information about fuel options in a gas station. This information is updated regularly.
&quot;fuelPrices&quot;: [ # The last known fuel price for each type of fuel this station has. There is one entry per fuel type this station has. Order is not important.
{ # Fuel price information for a given type.
&quot;price&quot;: { # Represents an amount of money with its currency type. # The price of the fuel.
&quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
&quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
&quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
},
&quot;type&quot;: &quot;A String&quot;, # The type of fuel.
&quot;updateTime&quot;: &quot;A String&quot;, # The time the fuel price was last updated.
},
],
},
&quot;goodForChildren&quot;: True or False, # Place is good for children.
&quot;goodForGroups&quot;: True or False, # Place accommodates groups.
&quot;goodForWatchingSports&quot;: True or False, # Place is suitable for watching sports.
&quot;googleMapsUri&quot;: &quot;A String&quot;, # A URL providing more information about this place.
&quot;iconBackgroundColor&quot;: &quot;A String&quot;, # Background color for icon_mask in hex format, e.g. #909CE1.
&quot;iconMaskBaseUri&quot;: &quot;A String&quot;, # A truncated URL to an icon mask. User can access different icon type by appending type suffix to the end (eg, &quot;.svg&quot; or &quot;.png&quot;).
&quot;id&quot;: &quot;A String&quot;, # The unique identifier of a place.
&quot;internationalPhoneNumber&quot;: &quot;A String&quot;, # A human-readable phone number for the place, in international format.
&quot;liveMusic&quot;: True or False, # Place provides live music.
&quot;location&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # The position of this place.
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
},
&quot;menuForChildren&quot;: True or False, # Place has a children&#x27;s menu.
&quot;name&quot;: &quot;A String&quot;, # An ID representing this place which may be used to look up this place again (a.k.a. the API &quot;resource&quot; name: places/place_id).
&quot;nationalPhoneNumber&quot;: &quot;A String&quot;, # A human-readable phone number for the place, in national format.
&quot;outdoorSeating&quot;: True or False, # Place provides outdoor seating.
&quot;parkingOptions&quot;: { # Information about parking options for the place. A parking lot could support more than one option at the same time. # Options of parking provided by the place.
&quot;freeGarageParking&quot;: True or False, # Place offers free garage parking.
&quot;freeParkingLot&quot;: True or False, # Place offers free parking lots.
&quot;freeStreetParking&quot;: True or False, # Place offers free street parking.
&quot;paidGarageParking&quot;: True or False, # Place offers paid garage parking.
&quot;paidParkingLot&quot;: True or False, # Place offers paid parking lots.
&quot;paidStreetParking&quot;: True or False, # Place offers paid street parking.
&quot;valetParking&quot;: True or False, # Place offers valet parking.
},
&quot;paymentOptions&quot;: { # Payment options the place accepts. # Payment options the place accepts. If a payment option data is not available, the payment option field will be unset.
&quot;acceptsCashOnly&quot;: True or False, # Place accepts cash only as payment. Places with this attribute may still accept other payment methods.
&quot;acceptsCreditCards&quot;: True or False, # Place accepts credit cards as payment.
&quot;acceptsDebitCards&quot;: True or False, # Place accepts debit cards as payment.
&quot;acceptsNfc&quot;: True or False, # Place accepts NFC payments.
},
&quot;photos&quot;: [ # Information (including references) about photos of this place.
{ # Information about a photo of a place.
&quot;authorAttributions&quot;: [ # This photo&#x27;s authors.
{ # Information about the author of the UGC data. Used in Photo, and Review.
&quot;displayName&quot;: &quot;A String&quot;, # Name of the author of the Photo or Review.
&quot;photoUri&quot;: &quot;A String&quot;, # Profile photo URI of the author of the Photo or Review.
&quot;uri&quot;: &quot;A String&quot;, # URI of the author of the Photo or Review.
},
],
&quot;heightPx&quot;: 42, # The maximum available height, in pixels.
&quot;name&quot;: &quot;A String&quot;, # Identifier. A reference representing this place photo which may be used to look up this place photo again (a.k.a. the API &quot;resource&quot; name: places/{place_id}/photos/{photo}).
&quot;widthPx&quot;: 42, # The maximum available width, in pixels.
},
],
&quot;plusCode&quot;: { # 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. # Plus code of the place location lat/long.
&quot;compoundCode&quot;: &quot;A String&quot;, # Place&#x27;s compound code, such as &quot;33GV+HQ, Ramberg, Norway&quot;, containing the suffix of the global code and replacing the prefix with a formatted name of a reference entity.
&quot;globalCode&quot;: &quot;A String&quot;, # Place&#x27;s global (full) code, such as &quot;9FWM33GV+HQ&quot;, representing an 1/8000 by 1/8000 degree area (~14 by 14 meters).
},
&quot;priceLevel&quot;: &quot;A String&quot;, # Price level of the place.
&quot;primaryType&quot;: &quot;A String&quot;, # The primary type of the given result. This type must one of the Places API supported types. For example, &quot;restaurant&quot;, &quot;cafe&quot;, &quot;airport&quot;, etc. A place can only have a single primary type. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types
&quot;primaryTypeDisplayName&quot;: { # Localized variant of a text in a particular language. # The display name of the primary type, localized to the request language if applicable. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types
&quot;languageCode&quot;: &quot;A String&quot;, # The text&#x27;s BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
&quot;text&quot;: &quot;A String&quot;, # Localized string in the language corresponding to language_code below.
},
&quot;rating&quot;: 3.14, # A rating between 1.0 and 5.0, based on user reviews of this place.
&quot;regularOpeningHours&quot;: { # Information about business hour of the place. # The regular hours of operation.
&quot;openNow&quot;: True or False, # Is this place open right now? Always present unless we lack time-of-day or timezone data for these opening hours.
&quot;periods&quot;: [ # The periods that this place is open during the week. The periods are in chronological order, starting with Sunday in the place-local timezone. An empty (but not absent) value indicates a place that is never open, e.g. because it is closed temporarily for renovations.
{ # A period the place remains in open_now status.
&quot;close&quot;: { # Status changing points. # The time that the place starts to be closed.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
&quot;open&quot;: { # Status changing points. # The time that the place starts to be open.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
},
],
&quot;secondaryHoursType&quot;: &quot;A String&quot;, # A type string used to identify the type of secondary hours.
&quot;specialDays&quot;: [ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day. Set for current_opening_hours and current_secondary_opening_hours if there are exceptional hours.
{ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date of this special day.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
},
],
&quot;weekdayDescriptions&quot;: [ # Localized strings describing the opening hours of this place, one string for each day of the week. Will be empty if the hours are unknown or could not be converted to localized text. Example: &quot;Sun: 18:00–06:00&quot;
&quot;A String&quot;,
],
},
&quot;regularSecondaryOpeningHours&quot;: [ # Contains an array of entries for information about regular secondary hours of a business. Secondary hours are different from a business&#x27;s main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place.
{ # Information about business hour of the place.
&quot;openNow&quot;: True or False, # Is this place open right now? Always present unless we lack time-of-day or timezone data for these opening hours.
&quot;periods&quot;: [ # The periods that this place is open during the week. The periods are in chronological order, starting with Sunday in the place-local timezone. An empty (but not absent) value indicates a place that is never open, e.g. because it is closed temporarily for renovations.
{ # A period the place remains in open_now status.
&quot;close&quot;: { # Status changing points. # The time that the place starts to be closed.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
&quot;open&quot;: { # Status changing points. # The time that the place starts to be open.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Date in the local timezone for the place.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;day&quot;: 42, # A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
&quot;hour&quot;: 42, # The hour in 2 digits. Ranges from 00 to 23.
&quot;minute&quot;: 42, # The minute in 2 digits. Ranges from 00 to 59.
&quot;truncated&quot;: True or False, # Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.
},
},
],
&quot;secondaryHoursType&quot;: &quot;A String&quot;, # A type string used to identify the type of secondary hours.
&quot;specialDays&quot;: [ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day. Set for current_opening_hours and current_secondary_opening_hours if there are exceptional hours.
{ # Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day.
&quot;date&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date of this special day.
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
},
],
&quot;weekdayDescriptions&quot;: [ # Localized strings describing the opening hours of this place, one string for each day of the week. Will be empty if the hours are unknown or could not be converted to localized text. Example: &quot;Sun: 18:00–06:00&quot;
&quot;A String&quot;,
],
},
],
&quot;reservable&quot;: True or False, # Specifies if the place supports reservations.
&quot;restroom&quot;: True or False, # Place has restroom.
&quot;reviews&quot;: [ # List of reviews about this place, sorted by relevance.
{ # Information about a review of a place.
&quot;authorAttribution&quot;: { # Information about the author of the UGC data. Used in Photo, and Review. # This review&#x27;s author.
&quot;displayName&quot;: &quot;A String&quot;, # Name of the author of the Photo or Review.
&quot;photoUri&quot;: &quot;A String&quot;, # Profile photo URI of the author of the Photo or Review.
&quot;uri&quot;: &quot;A String&quot;, # URI of the author of the Photo or Review.
},
&quot;name&quot;: &quot;A String&quot;, # A reference representing this place review which may be used to look up this place review again (also called the API &quot;resource&quot; name: places/place_id/reviews/review).
&quot;originalText&quot;: { # Localized variant of a text in a particular language. # The review text in its original language.
&quot;languageCode&quot;: &quot;A String&quot;, # The text&#x27;s BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
&quot;text&quot;: &quot;A String&quot;, # Localized string in the language corresponding to language_code below.
},
&quot;publishTime&quot;: &quot;A String&quot;, # Timestamp for the review.
&quot;rating&quot;: 3.14, # A number between 1.0 and 5.0, also called the number of stars.
&quot;relativePublishTimeDescription&quot;: &quot;A String&quot;, # A string of formatted recent time, expressing the review time relative to the current time in a form appropriate for the language and country.
&quot;text&quot;: { # Localized variant of a text in a particular language. # The localized text of the review.
&quot;languageCode&quot;: &quot;A String&quot;, # The text&#x27;s BCP-47 language code, such as &quot;en-US&quot; or &quot;sr-Latn&quot;. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
&quot;text&quot;: &quot;A String&quot;, # Localized string in the language corresponding to language_code below.
},
},
],
&quot;servesBeer&quot;: True or False, # Specifies if the place serves beer.
&quot;servesBreakfast&quot;: True or False, # Specifies if the place serves breakfast.
&quot;servesBrunch&quot;: True or False, # Specifies if the place serves brunch.
&quot;servesCocktails&quot;: True or False, # Place serves cocktails.
&quot;servesCoffee&quot;: True or False, # Place serves coffee.
&quot;servesDessert&quot;: True or False, # Place serves dessert.
&quot;servesDinner&quot;: True or False, # Specifies if the place serves dinner.
&quot;servesLunch&quot;: True or False, # Specifies if the place serves lunch.
&quot;servesVegetarianFood&quot;: True or False, # Specifies if the place serves vegetarian food.
&quot;servesWine&quot;: True or False, # Specifies if the place serves wine.
&quot;shortFormattedAddress&quot;: &quot;A String&quot;, # A short, human-readable address for this place.
&quot;subDestinations&quot;: [ # A list of sub destinations related to the place.
{ # Place resource name and id of sub destinations that relate to the place. For example, different terminals are different destinations of an airport.
&quot;id&quot;: &quot;A String&quot;, # The place id of the sub destination.
&quot;name&quot;: &quot;A String&quot;, # The resource name of the sub destination.
},
],
&quot;takeout&quot;: True or False, # Specifies if the business supports takeout.
&quot;types&quot;: [ # A set of type tags for this result. For example, &quot;political&quot; and &quot;locality&quot;. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types
&quot;A String&quot;,
],
&quot;userRatingCount&quot;: 42, # The total number of reviews (with or without text) for this place.
&quot;utcOffsetMinutes&quot;: 42, # Number of minutes this place&#x27;s timezone is currently offset from UTC. This is expressed in minutes to support timezones that are offset by fractions of an hour, e.g. X hours and 15 minutes.
&quot;viewport&quot;: { # A latitude-longitude viewport, represented as two diagonally opposite `low` and `high` points. A viewport is considered a closed region, i.e. it includes its boundary. The latitude bounds must range between -90 to 90 degrees inclusive, and the longitude bounds must range between -180 to 180 degrees inclusive. Various cases include: - If `low` = `high`, the viewport consists of that single point. - If `low.longitude` &gt; `high.longitude`, the longitude range is inverted (the viewport crosses the 180 degree longitude line). - If `low.longitude` = -180 degrees and `high.longitude` = 180 degrees, the viewport includes all longitudes. - If `low.longitude` = 180 degrees and `high.longitude` = -180 degrees, the longitude range is empty. - If `low.latitude` &gt; `high.latitude`, the latitude range is empty. Both `low` and `high` must be populated, and the represented box cannot be empty (as specified by the definitions above). An empty viewport will result in an error. For example, this viewport fully encloses New York City: { &quot;low&quot;: { &quot;latitude&quot;: 40.477398, &quot;longitude&quot;: -74.259087 }, &quot;high&quot;: { &quot;latitude&quot;: 40.91618, &quot;longitude&quot;: -73.70018 } } # A viewport suitable for displaying the place on an average-sized map.
&quot;high&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # Required. The high point of the viewport.
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
},
&quot;low&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # Required. The low point of the viewport.
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
},
},
&quot;websiteUri&quot;: &quot;A String&quot;, # The authoritative website for this place, e.g. a business&#x27; homepage. Note that for places that are part of a chain (e.g. an IKEA store), this will usually be the website for the individual store, not the overall chain.
},
],
}</pre>
</div>
</body></html>