文本搜索(旧版)

欧洲经济区 (EEA) 开发者

文本搜索(旧版)可以根据一个字符串(例如,“纽约的披萨店”“渥太华附近的鞋店”或“主街 123 号”)返回一组地点的相关信息。该服务会返回一列与所指定的文本字符串和任何位置偏向设置相匹配的地点。

文本搜索(旧版)适用于模糊查询,包括以下情况:

查询类型 示例
概念或限制条件过多,例如在单个查询中包含多个地点、道路或城市的名称 “Market Street San Francisco San Jose Airport”
Google 地图上未显示的邮政地址元素 "C/O John Smith 123 Main Street"
"P.O. Box 13 San Francisco"
商家、连锁店或类别的名称与这些实体未覆盖的地点相结合 “德克萨斯州达拉斯附近的 Tesco”
具有多种解读的模糊查询 “充电器送达”
不再使用的历史名称 "Middlesex United Kingdom"
非地理空间元素或意图 “文图拉港有多少艘船?”
非官方名称或自选名称 "The Jenga"
"The Helter Skelter"
经纬坐标 "37.422131,-122.084801"

搜索响应将包含一个地点列表。如需详细了解响应中的任何地点,您可以发送“地点详情”请求。

“文本搜索”(旧版)请求

文本搜索(旧版)请求是以下形式的 HTTP 网址:

https://maps.googleapis.com/maps/api/place/textsearch/output?parameters

其中,output 可以是以下任一值:

  • json(推荐)表示以 JavaScript 对象表示法 (JSON) 格式输出
  • xml 表示以 XML 格式输出

您需要使用某些参数,才能发起搜索请求。依照网址的标准,所有参数都使用“与”符号 (&) 分隔。

必需参数

  • 查询

    要用作搜索条件的文本字符串,例如“餐馆”或“长安街 123 号”。该参数必须是地点名称、地址或场所类别。 任何其他类型的输入都可能产生错误,并且不能保证返回有效结果。Google Places 服务将根据此字符串返回候选匹配结果,并按照其判断的相关性对结果进行排序。

  • 半径

    定义返回地点结果的距离范围(以米为单位)。您可以传递 locationradius 参数,使结果偏向指定圆形区域。这样做会指示地点服务优先显示该圆形区域内的结果;指定区域以外的结果可能仍会显示。

    系统会自动将半径限制为最大值,具体取决于搜索类型和其他参数。

    • 自动补全:50,000 米
    • 附近搜索:
      • 使用 keywordname:50,000 米
      • 不含 keywordname
        • 最多 50,000 米,根据区域密度动态调整,与 rankby 参数无关。
        • 使用 rankby=distance 时,系统不会接受半径参数,并会返回 INVALID_REQUEST
    • 查询自动补全:50,000 米
    • 文本搜索:5 万米

可选参数

  • language

    返回结果所用的语言。

    • 请参阅支持的语言列表。Google 会经常更新支持的语言,因此该列表可能并非详尽无遗。
    • 如果未提供 language,API 会尝试使用 Accept-Language 标头中指定的首选语言。
    • 该 API 会尽力提供用户和当地人都能看懂的街道地址。为了实现这一目标,它会返回本地语言的街道地址,并在必要时根据首选语言将地址音译为用户可读的文字。所有其他地址均以首选语言返回。地址组成部分全部以同一种语言返回,该语言是从第一个组成部分中选择的。
    • 如果首选语言中没有相应名称,API 会使用最接近的匹配项。
    • 首选语言对 API 选择返回的结果集以及返回顺序有较小的影响。地理编码器会根据语言以不同的方式解读缩写,例如街道类型的缩写,或者在一种语言中有效但在另一种语言中无效的同义词。例如,utcatér 是匈牙利语中“街道”的同义词。
  • 地理位置

    要检索地点信息所围绕的点。必须指定为 latitude,longitude

    如果 query 包含明确的位置信息(例如 Market in Barcelona),则可能会替换 location 参数。在查询周围使用引号也可能会影响 locationradius 的权重。
  • maxprice

    将结果限制为仅包含指定范围内的地点。有效值的范围介于 0(最实惠)和 4(最昂贵)之间,包括 0 和 4。特定值所表示的确切金额会因地区而异。

  • minprice

    将结果限制为仅包含指定范围内的地点。有效值的范围介于 0(最实惠)和 4(最昂贵)之间,包括 0 和 4。特定值所表示的确切金额会因地区而异。

  • opennow

    仅返回在发送查询时开门营业的地点。如果您在查询中包含此参数,系统不会返回那些未在 Google 地点数据库中指定营业时间的地点。

  • pagetoken

    返回之前运行的搜索中的最多 20 个结果。设置 pagetoken 参数将执行与之前使用的参数相同的搜索,除了 pagetoken 之外的所有参数都将被忽略。

  • 区域

    地区代码,以 ccTLD(“顶级域名”)双字符值的形式指定。多数 ccTLD 代码都与 ISO 3166-1 代码相同,但也有一些需要注意的例外情况。例如,英国的 ccTLD 为“uk”(.co.uk),而其 ISO 3166-1 代码为“gb”(代表“大不列颠及北爱尔兰联合王国”)。

  • 类型

    将结果限制为与指定类型相匹配的地点。只能指定一种类型。如果提供多个类型,系统会忽略第一个条目之后的所有类型。

    • type=hospital|pharmacy|doctor 变为 type=hospital
    • 完全忽略 type=hospital,pharmacy,doctor

    请参阅支持的类型列表。

    注意:同时添加 keywordtype 并使用相同的值(keyword=cafe&type=cafekeyword=parking&type=parking)可能会产生 ZERO_RESULTS

文本搜索(旧版)示例

注意:在这些示例中,您需要将 key 替换为您自己的 API 密钥,以便请求在您的应用中正常运行。

基本示例

以下示例展示了如何搜索悉尼附近的餐厅。

curl

curl -L -X GET 'https://maps.googleapis.com/maps/api/place/textsearch/json?query=restaurants%20in%20Sydney&key=YOUR_API_KEY'

HTTP

https://maps.googleapis.com/maps/api/place/textsearch/json
  ?query=restaurants%20in%20Sydney
  &key=YOUR_API_KEY

地址不完整的示例

以下示例展示了对不完整地址的搜索,在本例中,该地址仅包含街道地址,不包含城市、州或国家/地区。

curl

curl -L -X GET 'https://maps.googleapis.com/maps/api/place/textsearch/json?query=123%20main%20street&key=YOUR_API_KEY'

HTTP

https://maps.googleapis.com/maps/api/place/textsearch/json
  ?query=123%20main%20street
  &key=YOUR_API_KEY

JSON

{
  "html_attributions": [],
  "results":
    [
      {
        "formatted_address": "Main St, Denver, CO 80238, USA",
        "geometry":
          {
            "location": { "lat": 39.782267, "lng": -104.8919341 },
            "viewport":
              {
                "northeast":
                  { "lat": 39.78361682989273, "lng": -104.8905842701073 },
                "southwest":
                  { "lat": 39.78091717010729, "lng": -104.8932839298927 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/geocode-71.png",
        "icon_background_color": "#7B9EB0",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/generic_pinlet",
        "name": "Main St",
        "place_id": "ChIJIS85_gd7bIcRJIGEPue1cJI",
        "reference": "ChIJIS85_gd7bIcRJIGEPue1cJI",
        "types": ["route"],
      },
    ],
  "status": "OK",
}
    

XML

<?xml version="1.0" encoding="UTF-8"?>
<PlaceSearchResponse>
 <status>OK</status>
 <result>
  <name>Main St</name>
  <type>route</type>
  <formatted_address>Main St, Denver, CO 80238, USA</formatted_address>
  <geometry>
   <location>
    <lat>39.7822670</lat>
    <lng>-104.8919341</lng>
   </location>
   <viewport>
    <southwest>
     <lat>39.7809172</lat>
     <lng>-104.8932839</lng>
    </southwest>
    <northeast>
     <lat>39.7836168</lat>
     <lng>-104.8905843</lng>
    </northeast>
   </viewport>
  </geometry>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/geocode-71.png</icon>
  <reference>ChIJIS85_gd7bIcRJIGEPue1cJI</reference>
  <place_id>ChIJIS85_gd7bIcRJIGEPue1cJI</place_id>
  <icon_background_color>#7B9EB0</icon_background_color>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/generic_pinlet</icon_mask_base_uri>
 </result>
</PlaceSearchResponse>

    

位置偏差示例

以下示例展示了对上例中同一不完整地址的搜索,并包含 locationradius 参数,以便将结果偏向感兴趣的区域。

curl

curl -L -X GET 'https://maps.googleapis.com/maps/api/place/textsearch/json?query=123%20main%20street&location=42.3675294%2C-71.186966&radius=10000&key=YOUR_API_KEY'

HTTP

https://maps.googleapis.com/maps/api/place/textsearch/json
  ?location=42.3675294%2C-71.186966
  &query=123%20main%20street
  &radius=10000
  &key=YOUR_API_KEY

JSON

{
  "html_attributions": [],
  "results":
    [
      {
        "formatted_address": "123 Main St, Boston, MA 02110, USA",
        "geometry":
          {
            "location": { "lat": 42.3744917, "lng": -71.0634802 },
            "viewport":
              {
                "northeast":
                  { "lat": 42.37581642989272, "lng": -71.06219107010727 },
                "southwest":
                  { "lat": 42.37311677010727, "lng": -71.06489072989272 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/geocode-71.png",
        "icon_background_color": "#7B9EB0",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/generic_pinlet",
        "name": "123 Main St",
        "place_id": "ChIJd_ueCe1w44kRD_KFuN5w5nA",
        "plus_code":
          {
            "compound_code": "9WFP+QJ Boston, Massachusetts",
            "global_code": "87JC9WFP+QJ",
          },
        "reference": "ChIJd_ueCe1w44kRD_KFuN5w5nA",
        "types": ["street_address"],
      },
    ],
  "status": "OK",
}
    

XML

<?xml version="1.0" encoding="UTF-8"?>
<PlaceSearchResponse>
 <status>OK</status>
 <result>
  <name>123 Main St</name>
  <type>street_address</type>
  <formatted_address>123 Main St, Boston, MA 02110, USA</formatted_address>
  <geometry>
   <location>
    <lat>42.3744917</lat>
    <lng>-71.0634802</lng>
   </location>
   <viewport>
    <southwest>
     <lat>42.3731168</lat>
     <lng>-71.0648907</lng>
    </southwest>
    <northeast>
     <lat>42.3758164</lat>
     <lng>-71.0621911</lng>
    </northeast>
   </viewport>
  </geometry>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/geocode-71.png</icon>
  <reference>ChIJd_ueCe1w44kRD_KFuN5w5nA</reference>
  <place_id>ChIJd_ueCe1w44kRD_KFuN5w5nA</place_id>
  <plus_code>
   <global_code>87JC9WFP+QJ</global_code>
   <compound_code>9WFP+QJ Boston, Massachusetts</compound_code>
  </plus_code>
  <icon_background_color>#7B9EB0</icon_background_color>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/generic_pinlet</icon_mask_base_uri>
 </result>
</PlaceSearchResponse>

    

文本搜索(旧版)响应

搜索响应以网址请求路径中 output 标志所指示的格式返回。

以下示例展示了文本搜索(旧版)响应。

JSON

{
  "html_attributions": [],
  "next_page_token": "Aap_uEAHsgFErpxZrytW1mgKsefD327VCf0OgNF9vpXPwTOG6AGhEZpGgMgofSzgCahevXhneCe9M9H24SOuE4ZcaE0ZR01gVykQZ6EoDnlWEQvXBXe6z0sgF5MQo7qBb6uD4VHKDLhgR59Lb86BzTHJzTzbm61OAPvyInZoaQxK8-oEf2PShZT7XRJKoF5nISbwvU_-RomwGDVi27oj0fToIyV-Vj2ftJw8ZUPbdGGCbcDolQyAwj11Dy2aaeK4SGwg2mO5Akxa7fCze2RJ0GCAvXXp7omTFDy_47OXsFgDPfzluc7mEb5VlzlIMZ0eWQ8VeNigtv-XZZG0f3HSo81Yeq3QhXedJ5oNE1XCwyMly3YVgw_h3amOzAOuDigF1pgFnfGyzxD8vr2bfbPTNvA9l7IJ8Q",
  "results":
    [
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "1 Macquarie St, Sydney NSW 2000, Australia",
        "geometry":
          {
            "location": { "lat": -33.8592041, "lng": 151.2132635 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.85786707010728, "lng": 151.2147093298927 },
                "southwest":
                  { "lat": -33.86056672989272, "lng": 151.2120096701072 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "Aria Restaurant Sydney",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 4032,
              "html_attributions":
                [
                  'Dohyun Kim',
                ],
              "photo_reference": "Aap_uED7B83PoQ1wNgzYcFZEOw1P2DqNjlaqiXxo-r4F_NaR27uV2OiIvijkI6RYyfiiHYo9UqjnZkRtZaNTk4C6Ickh3k3stsSvBU0KfLtFow-oRujSYYChYwiYhVyP27omLzQQjafhJ2N3LJbjcMxSePKXsQzYCqmOLWg0E9mSExMJ4aM",
              "width": 3024,
            },
          ],
        "place_id": "ChIJdxxU1WeuEmsR11c4fswX-Io",
        "plus_code":
          {
            "compound_code": "46R7+88 Sydney, New South Wales, Australia",
            "global_code": "4RRH46R7+88",
          },
        "price_level": 4,
        "rating": 4.5,
        "reference": "ChIJdxxU1WeuEmsR11c4fswX-Io",
        "types": ["restaurant", "point_of_interest", "food", "establishment"],
        "user_ratings_total": 1681,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "15 Bligh St, Sydney NSW 2000, Australia",
        "geometry":
          {
            "location": { "lat": -33.8651396, "lng": 151.2104533 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.86384167010728, "lng": 151.2118993298927 },
                "southwest":
                  { "lat": -33.86654132989272, "lng": 151.2091996701073 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "Restaurant Hubert",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 683,
              "html_attributions":
                [
                  'Ashley Hughes',
                ],
              "photo_reference": "Aap_uEB41WOb_Nl8I8py4D6uXoLHzVYtFZZcucYdYAN1FtzXBnAu59xXrxk5tekoktAbklwmHeSFfdnTCWgHRZ1C5Azp9AMCP9GRGV1f2Z1-5kjsVgnYPiq82JoueSUdCSQJFabyL0cagtcGaFKetVi7DmUIHDQknEPCh_cpCbdOMw4Bkq5q",
              "width": 1024,
            },
          ],
        "place_id": "ChIJF5-RdGquEmsR5rN_H74uSqQ",
        "plus_code":
          {
            "compound_code": "46M6+W5 Sydney, New South Wales, Australia",
            "global_code": "4RRH46M6+W5",
          },
        "price_level": 3,
        "rating": 4.6,
        "reference": "ChIJF5-RdGquEmsR5rN_H74uSqQ",
        "types": ["restaurant", "point_of_interest", "food", "establishment"],
        "user_ratings_total": 2393,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "529 Kent St, Sydney NSW 2000, Australia",
        "geometry":
          {
            "location": { "lat": -33.8751241, "lng": 151.2049722 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.87375712010727, "lng": 151.2065098798927 },
                "southwest":
                  { "lat": -33.87645677989271, "lng": 151.2038102201073 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "Tetsuya's Restaurant",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 1536,
              "html_attributions":
                [
                  'A Google User',
                ],
              "photo_reference": "Aap_uEABxcDNSMAz51CRsIr5ejvKYb61EQ94XxZTVO_mGdB8OcnoywPCx8f9e6xeAJjPzCcW_2ds6GfObP5l1gkq9lily-rVi5z2x2Ue7CvLwKyquIJnrF6offeY79I-jeiL153aXMNcunfpA2ERTkzl8SX9jSh7T5wZ49oSKL-0F8fh8kVF",
              "width": 2304,
            },
          ],
        "place_id": "ChIJxXSgfDyuEmsR3X5VXGjBkFg",
        "plus_code":
          {
            "compound_code": "46F3+XX Sydney, New South Wales, Australia",
            "global_code": "4RRH46F3+XX",
          },
        "price_level": 4,
        "rating": 4.6,
        "reference": "ChIJxXSgfDyuEmsR3X5VXGjBkFg",
        "types": ["restaurant", "point_of_interest", "food", "establishment"],
        "user_ratings_total": 1127,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "98 Clarence St, Sydney NSW 2000, Australia",
        "geometry":
          {
            "location": { "lat": -33.8679688, "lng": 151.2053027 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.86662567010728, "lng": 151.2065763298927 },
                "southwest":
                  { "lat": -33.86932532989272, "lng": 151.2038766701073 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "Bistro Papillon",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 2880,
              "html_attributions":
                [
                  'kate Kwak',
                ],
              "photo_reference": "Aap_uEDTgSYN79L90iMhL-g9lZX-52myIvxBj82nYBA2MTVnSNbuqBwnDBkjHuiLHMG_0e4na2UxV8EpxZCHoisxLHRTFkr8ahDCVhgK9cxhnEgSjmqIPAQh7n23JqfHAzSp-2ksgg9FaK2NYNyAfhC_MtSFUXyVd0aNLdEsj95pWuFWlRyi",
              "width": 2160,
            },
          ],
        "place_id": "ChIJywXDWT-uEmsRxyuZ0Inwi04",
        "plus_code":
          {
            "compound_code": "46J4+R4 Sydney, New South Wales, Australia",
            "global_code": "4RRH46J4+R4",
          },
        "price_level": 3,
        "rating": 4.5,
        "reference": "ChIJywXDWT-uEmsRxyuZ0Inwi04",
        "types":
          [
            "meal_takeaway",
            "restaurant",
            "point_of_interest",
            "food",
            "establishment",
          ],
        "user_ratings_total": 498,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "Ground Floor, 199 George St, Sydney NSW 2000, Australia",
        "geometry":
          {
            "location": { "lat": -33.8616781, "lng": 151.2077174 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.86039142010728, "lng": 151.2091855798927 },
                "southwest":
                  { "lat": -33.86309107989273, "lng": 151.2064859201073 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "Mode Kitchen & Bar",
        "opening_hours": { "open_now": true },
        "photos":
          [
            {
              "height": 1536,
              "html_attributions":
                [
                  'Mode Kitchen & Bar',
                ],
              "photo_reference": "Aap_uECCCAhdFqO1rCWXBXK2Ub1UloT6k5-VfS_J3HSNB_Znw1gEd78ltmokAt_g5kBa2dKrVKt_ob4rSJBvrREXUykDzRWChaXHIacM8KJix6J97T2P2WrzEP5FpNRsnfim8f4biVSNKSwmXGX_ZynFSmgBQOgDt1iVpdZ0IZ1beSPLHPL3",
              "width": 2048,
            },
          ],
        "place_id": "ChIJL2r6S0KuEmsRxzk0sfWZYnU",
        "plus_code":
          {
            "compound_code": "46Q5+83 Sydney, New South Wales, Australia",
            "global_code": "4RRH46Q5+83",
          },
        "price_level": 2,
        "rating": 4.4,
        "reference": "ChIJL2r6S0KuEmsRxzk0sfWZYnU",
        "types": ["restaurant", "point_of_interest", "food", "establishment"],
        "user_ratings_total": 217,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "Colonial Mutual Life Building, Angel Pl, Sydney NSW 2000, Australia",
        "geometry":
          {
            "location": { "lat": -33.8671138, "lng": 151.2083642 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.86574872010727, "lng": 151.2097876798927 },
                "southwest":
                  { "lat": -33.86844837989272, "lng": 151.2070880201072 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "Long Chim Sydney",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 4480,
              "html_attributions":
                [
                  'Long Chim Sydney',
                ],
              "photo_reference": "Aap_uECawW_4NulE_MO_wdqh5WwoX9oIMSVnhkjv73J87-xfYE0zYMeUX23RY3F45RPyREWucZeF5KY8Ty_Vir3uQ01EglcwQq_unavJ5wM1CUpLamMyuY4ifMisnNJcbDywnvlKUqcW8WfAD6fPIxeSKxVjsl6E9h9keqyy73DRRm3FuqMd",
              "width": 6720,
            },
          ],
        "place_id": "ChIJ98SIQkCuEmsRQAStwDCAshw",
        "plus_code":
          {
            "compound_code": "46M5+58 Sydney, New South Wales, Australia",
            "global_code": "4RRH46M5+58",
          },
        "price_level": 3,
        "rating": 4.1,
        "reference": "ChIJ98SIQkCuEmsRQAStwDCAshw",
        "types": ["restaurant", "point_of_interest", "food", "establishment"],
        "user_ratings_total": 1234,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "17-19 Alberta St, Sydney NSW 2000, Australia",
        "geometry":
          {
            "location": { "lat": -33.8777986, "lng": 151.2105307 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.87646642010727, "lng": 151.2119536298927 },
                "southwest":
                  { "lat": -33.87916607989272, "lng": 151.2092539701073 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "Alberto's Lounge",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 4000,
              "html_attributions":
                [
                  'Kreeson Naraidoo',
                ],
              "photo_reference": "Aap_uEAKwkOCpQ5q8I0mLRMpDLfSe1E6g7umIx6QSy3GrWO-w6Yk533jOo0kCHi1LinjLzbFoSRxNcyvTk0RXj502jGe6VU__UOPjEB6GetV3Dpwgs_xR0Rb52wlx4BFMz8QbsIWOZNzF9Nutk_gLjCPKWk-A_eWjxmQerT7ZWG3OKhDkd_K",
              "width": 6000,
            },
          ],
        "place_id": "ChIJU_xO9hOvEmsRERZv-itx524",
        "plus_code":
          {
            "compound_code": "46C6+V6 Sydney, New South Wales, Australia",
            "global_code": "4RRH46C6+V6",
          },
        "rating": 4.6,
        "reference": "ChIJU_xO9hOvEmsRERZv-itx524",
        "types": ["restaurant", "point_of_interest", "food", "establishment"],
        "user_ratings_total": 548,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "25 Bligh St, Sydney NSW 2000, Australia",
        "geometry":
          {
            "location": { "lat": -33.8654401, "lng": 151.2101016 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.86417187010728, "lng": 151.2115775298928 },
                "southwest":
                  { "lat": -33.86687152989273, "lng": 151.2088778701073 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "Chophouse Sydney",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 3550,
              "html_attributions":
                [
                  'A Google User',
                ],
              "photo_reference": "Aap_uEAWMbQLzK8Hf4k2UHZZ9bmXF6U8ghWjT4d3r6a3g6Jj0s4i3mDumwH49NWyAZe_gT6Dzmne8UoMPGYBSXDb8sKCUCGQRyMViMEWJCFDuT4Jvjwa_7JXsyj0_VEm9nmua4Sy39K9uk8ZQEUTMCqEIPlYzxRo3VXUm0KkM4TrPnJ8eDG9",
              "width": 5325,
            },
          ],
        "place_id": "ChIJZ-VZ30GuEmsRwLVCmEo-B2I",
        "plus_code":
          {
            "compound_code": "46M6+R2 Sydney, New South Wales, Australia",
            "global_code": "4RRH46M6+R2",
          },
        "price_level": 3,
        "rating": 4.3,
        "reference": "ChIJZ-VZ30GuEmsRwLVCmEo-B2I",
        "types": ["restaurant", "point_of_interest", "food", "establishment"],
        "user_ratings_total": 1174,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "46-52 Meagher St, Chippendale NSW 2008, Australia",
        "geometry":
          {
            "location": { "lat": -33.8874605, "lng": 151.2008331 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.88617642010727, "lng": 151.2021869298927 },
                "southwest":
                  { "lat": -33.88887607989272, "lng": 151.1994872701073 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "Ester Restaurant",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 4032,
              "html_attributions":
                [
                  'Angela Tong',
                ],
              "photo_reference": "Aap_uEDAVR2ZbxrkwY2XIKsAO_K54A3sLZof-Cc8vjyqKVRXhwoOU8OkOpSG8dFFjJqD0EungtPoFuOAVmrZDA5sdUqgekvLTneFEWvQntR4zE0s8fuaVZf6nnl4FUnAalKWOQwEakMlAFT-PvqHzXaXfvuMJ69euepMNMJCWUCUz9HlzSuB",
              "width": 3024,
            },
          ],
        "place_id": "ChIJ7WdhetixEmsRzIf7Q-q6ocY",
        "plus_code":
          {
            "compound_code": "4672+28 Chippendale, New South Wales, Australia",
            "global_code": "4RRH4672+28",
          },
        "price_level": 3,
        "rating": 4.5,
        "reference": "ChIJ7WdhetixEmsRzIf7Q-q6ocY",
        "types": ["restaurant", "point_of_interest", "food", "establishment"],
        "user_ratings_total": 956,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "27 O'Connell St, Sydney NSW 2000, Australia",
        "geometry":
          {
            "location": { "lat": -33.8652017, "lng": 151.2088233 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.86401937010727, "lng": 151.2103577298927 },
                "southwest":
                  { "lat": -33.86671902989272, "lng": 151.2076580701073 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "Bentley Restaurant + Bar",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 3024,
              "html_attributions":
                [
                  'A Google User',
                ],
              "photo_reference": "Aap_uEC2sk8YPyjk7yBwj6pWLHMjQea6HkLgzw2VTgxaU9GAR4Z7cKZ-XDixUWpcmtpyKPJzYoVlSv92kxGTOgkAGZEyDdXGJWT5RgLZRi_HOGVtWBrwYqD5IusdvQ4fBZj2j3yDOyM5Rw-fZpl-MiiSjhubuvR0Ra_x5PbDjVvYb5lgN_Yp",
              "width": 3024,
            },
          ],
        "place_id": "ChIJybJExkGuEmsRmpbxj1gH_-U",
        "plus_code":
          {
            "compound_code": "46M5+WG Sydney, New South Wales, Australia",
            "global_code": "4RRH46M5+WG",
          },
        "price_level": 4,
        "rating": 4.3,
        "reference": "ChIJybJExkGuEmsRmpbxj1gH_-U",
        "types": ["restaurant", "point_of_interest", "food", "establishment"],
        "user_ratings_total": 606,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "56 Pirrama Rd, Pyrmont NSW 2009, Australia",
        "geometry":
          {
            "location": { "lat": -33.8668159, "lng": 151.1973855 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.86555562010727, "lng": 151.1990430798927 },
                "southwest":
                  { "lat": -33.86825527989272, "lng": 151.1963434201073 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "LuMi Dining",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 3456,
              "html_attributions":
                [
                  'Qing-Ling Tran',
                ],
              "photo_reference": "Aap_uEBWfjS-8EN9i6bl8cflsqTawfHBVe2X7ZZ0BlJC0ri_MMEn-9k7oLhCq5gdozyhx-trWhl_FdrUdUPWerEW_MRa6eLD4cmLL1ZdF418ZtYSOnR3H1aIbmQpGNF7ltXrzaWVFI1MKYzJoat4WnyUyDUPPGx5dynj_rC4ufTTFTLqV2jb",
              "width": 4608,
            },
          ],
        "place_id": "ChIJDZzo5DeuEmsRsi1wzrIp6HY",
        "plus_code":
          {
            "compound_code": "45MW+7X Pyrmont, New South Wales, Australia",
            "global_code": "4RRH45MW+7X",
          },
        "price_level": 4,
        "rating": 4.6,
        "reference": "ChIJDZzo5DeuEmsRsi1wzrIp6HY",
        "types":
          ["bar", "restaurant", "point_of_interest", "food", "establishment"],
        "user_ratings_total": 648,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "39 Lime St, Sydney NSW 2000, Australia",
        "geometry":
          {
            "location": { "lat": -33.867806, "lng": 151.2017201 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.86646482010728, "lng": 151.2031808298927 },
                "southwest":
                  { "lat": -33.86916447989272, "lng": 151.2004811701072 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "The Malaya",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 885,
              "html_attributions":
                [
                  'The Malaya',
                ],
              "photo_reference": "Aap_uEALKL4StbrRJxvVFBPP4bFq7exqB3GLs_qDheVF_MQD9mIq4XG2QeXc1WimxybYSkdl2sj1e9xXzR_ZTTaHC13faCQxY4t2BM2HMJ20sCZZoE2TKDRIwuQ4B7AxnMypKBTUXtkHTtsMJPI8nTIIKoa5b8rM9Pf3HnUacPUg0kKmlfqj",
              "width": 884,
            },
          ],
        "place_id": "ChIJ4U8HhjiuEmsRyevJVTxWbFo",
        "plus_code":
          {
            "compound_code": "46J2+VM Sydney, New South Wales, Australia",
            "global_code": "4RRH46J2+VM",
          },
        "price_level": 3,
        "rating": 4.5,
        "reference": "ChIJ4U8HhjiuEmsRyevJVTxWbFo",
        "types": ["restaurant", "point_of_interest", "food", "establishment"],
        "user_ratings_total": 1344,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "60 Carrington St, Sydney NSW 2000, Australia",
        "geometry":
          {
            "location": { "lat": -33.8668185, "lng": 151.2064637 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.86546022010727, "lng": 151.2076971798927 },
                "southwest":
                  { "lat": -33.86815987989272, "lng": 151.2049975201073 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "Bopp & Tone",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 1179,
              "html_attributions":
                [
                  'Md. Kurban Ali',
                ],
              "photo_reference": "Aap_uEDb3R6906_imHTfBq-WvDVaUYWYletbwXZ_lk_pUmdZ6e_ldeX-kmVg470dN7kL0V7fmRlLwblKhEHpcwU9ryWE97boU0u021G9IybZSA7dzM07eUfMNbdBYAU9SJzUihkkKYHXRaGjUQah8hsQHRzoMe0fU6SUD5VJgdOiCfAg3jzA",
              "width": 1772,
            },
          ],
        "place_id": "ChIJfTxskB6vEmsRXPSIwVlleUA",
        "plus_code":
          {
            "compound_code": "46M4+7H Sydney, New South Wales, Australia",
            "global_code": "4RRH46M4+7H",
          },
        "price_level": 1,
        "rating": 4.7,
        "reference": "ChIJfTxskB6vEmsRXPSIwVlleUA",
        "types": ["restaurant", "point_of_interest", "food", "establishment"],
        "user_ratings_total": 689,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "17 Bligh St, Sydney NSW 2000, Australia",
        "geometry":
          {
            "location": { "lat": -33.8653056, "lng": 151.2103593 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.86401087010728, "lng": 151.2117942798927 },
                "southwest":
                  { "lat": -33.86671052989272, "lng": 151.2090946201073 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "Balcón by Tapavino",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 2359,
              "html_attributions":
                [
                  'A Google User',
                ],
              "photo_reference": "Aap_uECptqTTZFSmP9ZQ6gZpwBUHd1oPYdpYimtZu0hPlQYsy2dwEirrOnIvzj-bytjVTXPps_462XYekZHVXtXcd68S4HVKcxGOODVskziJFnxqP-gR7ToqWHusnfVmzjeEip_ofrJwIRC9rIeQNfdDdY5bR3EHHg-RBifLT78Hgy_9AmDR",
              "width": 4192,
            },
          ],
        "place_id": "ChIJTxj0dGquEmsR-6tLuaGJl_M",
        "plus_code":
          {
            "compound_code": "46M6+V4 Sydney, New South Wales, Australia",
            "global_code": "4RRH46M6+V4",
          },
        "price_level": 3,
        "rating": 4.4,
        "reference": "ChIJTxj0dGquEmsR-6tLuaGJl_M",
        "types":
          ["bar", "restaurant", "point_of_interest", "food", "establishment"],
        "user_ratings_total": 615,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "Shop 100/412/414 George St, Sydney NSW 2000, Australia",
        "geometry":
          {
            "location": { "lat": -33.8694151, "lng": 151.2071166 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.86806547010728, "lng": 151.2084946798927 },
                "southwest":
                  { "lat": -33.87076512989272, "lng": 151.2057950201073 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "The Restaurant Pendolino",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 1365,
              "html_attributions":
                [
                  'The Restaurant Pendolino',
                ],
              "photo_reference": "Aap_uEDQIyh5y5AoYrcKQewc9VRhruEl5uP9RoCAvSNblDjgl4_noqxRu533JpHJ05JsHmFFGBstVK6VI3liXUT25hItj4XPWmgt82fAWtho-Ug0Y9L7csf2i2xdb28SK4NsyqHA4Vf-J6o2jxPDRu-UM_lPP_wrkCzHdl4owDtXSFB0Yv4T",
              "width": 2048,
            },
          ],
        "place_id": "ChIJL1zhdD-uEmsRgDPXKOx1JyU",
        "plus_code":
          {
            "compound_code": "46J4+6R Sydney, New South Wales, Australia",
            "global_code": "4RRH46J4+6R",
          },
        "price_level": 3,
        "rating": 4.6,
        "reference": "ChIJL1zhdD-uEmsRgDPXKOx1JyU",
        "types": ["restaurant", "point_of_interest", "food", "establishment"],
        "user_ratings_total": 505,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "4 Ash St, Sydney NSW 2000, Australia",
        "geometry":
          {
            "location": { "lat": -33.8669418, "lng": 151.2075261 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.86557222010728, "lng": 151.2089249298927 },
                "southwest":
                  { "lat": -33.86827187989272, "lng": 151.2062252701072 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "Mercado",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 3183,
              "html_attributions":
                [
                  'Mercado',
                ],
              "photo_reference": "Aap_uEA5WUv48wnMuPFig77wsLUcSSckmhgYcvkn3U0C6_VusopaQQYWMpWpi8r_mbwxDST8Y3eKHeqzSOTOy-6Xals5vXGxKM9QG8QloLN9zlk5FpfjCmRiXWFj2hGh5RTXumuBoq2WY5HmKgLXVK3Wa-59thWtv1o6bLJawqM1dad3rPIn",
              "width": 4774,
            },
          ],
        "place_id": "ChIJCXaGXkCuEmsR_O_xTuWrmT8",
        "plus_code":
          {
            "compound_code": "46M5+62 Sydney, New South Wales, Australia",
            "global_code": "4RRH46M5+62",
          },
        "price_level": 3,
        "rating": 4.4,
        "reference": "ChIJCXaGXkCuEmsR_O_xTuWrmT8",
        "types": ["restaurant", "point_of_interest", "food", "establishment"],
        "user_ratings_total": 572,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "1 Angel Pl, Sydney NSW 2000, Australia",
        "geometry":
          {
            "location": { "lat": -33.8670308, "lng": 151.208067 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.86563237010727, "lng": 151.2094688798927 },
                "southwest":
                  { "lat": -33.86833202989272, "lng": 151.2067692201073 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "Ragazzi Wine and Pasta",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 1000,
              "html_attributions":
                [
                  'A Google User',
                ],
              "photo_reference": "Aap_uEDfY4kMWk39O1mGg8-nYtl970y3-sr7ex3F5EUu9aL-FL5MGigK4uWf45YFO1a2rF3uaUQ2VTT9W5GjpaTlljko5Brrm5h3XOkS5uPvuYba_mK_K_mx0Byz2WbXh9-7r9jlz075DJMiG7rs42aw26bwffF4aYZpBoQfxipXEMc4_92i",
              "width": 1500,
            },
          ],
        "place_id": "ChIJTRnbxc6vEmsRnUOl_URYSvs",
        "plus_code":
          {
            "compound_code": "46M5+56 Sydney, New South Wales, Australia",
            "global_code": "4RRH46M5+56",
          },
        "rating": 4.4,
        "reference": "ChIJTRnbxc6vEmsRnUOl_URYSvs",
        "types":
          ["restaurant", "bar", "point_of_interest", "food", "establishment"],
        "user_ratings_total": 433,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "5 Kensington St, Chippendale NSW 2008, Australia",
        "geometry":
          {
            "location": { "lat": -33.8848073, "lng": 151.2015895 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.88340327010728, "lng": 151.2029597798927 },
                "southwest":
                  { "lat": -33.88610292989272, "lng": 151.2002601201073 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "Automata Restaurant",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 3024,
              "html_attributions":
                [
                  'IS L',
                ],
              "photo_reference": "Aap_uEDo7q_kvvgqOXdvRb0Uu2Fa3V_UYYFeBq7V9xTwn4353OI9jzFxrCoJk63NUbUZPd4BFbK0dPXNjBZ_-5f9b-8Dh6IKkgW0ynExs4rsfjA5YxqkYKc2WKCAElKKrR8N7G0PfV-y4CqdYc9syC3bzC571VFna2ZUudx_ljlrHXL4jnOW",
              "width": 4032,
            },
          ],
        "place_id": "ChIJhfcGASeuEmsRmj19JwYiqUo",
        "plus_code":
          {
            "compound_code": "4682+3J Chippendale, New South Wales, Australia",
            "global_code": "4RRH4682+3J",
          },
        "price_level": 3,
        "rating": 4.4,
        "reference": "ChIJhfcGASeuEmsRmj19JwYiqUo",
        "types": ["restaurant", "point_of_interest", "food", "establishment"],
        "user_ratings_total": 474,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "Bennelong Point, Sydney NSW 2000, Australia",
        "geometry":
          {
            "location": { "lat": -33.8567498, "lng": 151.2152535 },
            "viewport":
              {
                "northeast": { "lat": -33.85569109999999, "lng": 151.21607855 },
                "southwest": { "lat": -33.8599259, "lng": 151.21277835 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "Bennelong",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 3840,
              "html_attributions":
                [
                  'A Google User',
                ],
              "photo_reference": "Aap_uEDHg9QjKCjtzVDOOJtqOEHSp2iQ8rykuMNdHDFuviyfbJP9XfxM6x2TdxZYuu4kfSrn79o5DroGRG6NQR5pa3OVlFBVVfD88uUKBlhxnOlq4GqRbgk8W1xT0TxL7fjlKPPqa3hA0ZrweoOknLRDxv8zCKpPZu0gdlJfoKAG_VAnbUv-",
              "width": 5760,
            },
          ],
        "place_id": "ChIJQcmNYGauEmsR84D5HAJJUhw",
        "plus_code":
          {
            "compound_code": "46V8+84 Sydney, New South Wales, Australia",
            "global_code": "4RRH46V8+84",
          },
        "price_level": 4,
        "rating": 4.5,
        "reference": "ChIJQcmNYGauEmsR84D5HAJJUhw",
        "types":
          ["bar", "restaurant", "point_of_interest", "food", "establishment"],
        "user_ratings_total": 1230,
      },
      {
        "business_status": "OPERATIONAL",
        "formatted_address": "123 Clarence St, Sydney NSW 2000, Australia",
        "geometry":
          {
            "location": { "lat": -33.8671505, "lng": 151.2049296 },
            "viewport":
              {
                "northeast":
                  { "lat": -33.86582657010727, "lng": 151.2063577298927 },
                "southwest":
                  { "lat": -33.86852622989272, "lng": 151.2036580701073 },
              },
          },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
        "icon_background_color": "#FF9E67",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
        "name": "Machiavelli",
        "opening_hours": { "open_now": false },
        "photos":
          [
            {
              "height": 605,
              "html_attributions":
                [
                  'Nikhil Kuchroo',
                ],
              "photo_reference": "Aap_uEBKwIZhaQQgPdMT72V5LBm4ELL7a9SZOtIObjmvn_mYzY1fFq3lIHrzg8NRas-h4fhWdNfC8QC4qVrPUP6VpnIRheN9jdBteNRjWiFRyCSQFEDsW2JUU3h4kCTnf90Uw0KcWyXPACm9ZXq1Wp-m2Dkx4AbSYpo17chLhDCQlLBmSDjP",
              "width": 1280,
            },
          ],
        "place_id": "ChIJgVcAr0CuEmsRJjJm03tgFtE",
        "plus_code":
          {
            "compound_code": "46M3+4X Sydney, New South Wales, Australia",
            "global_code": "4RRH46M3+4X",
          },
        "price_level": 3,
        "rating": 4.5,
        "reference": "ChIJgVcAr0CuEmsRJjJm03tgFtE",
        "types":
          [
            "meal_takeaway",
            "restaurant",
            "point_of_interest",
            "food",
            "establishment",
          ],
        "user_ratings_total": 529,
      },
    ],
  "status": "OK",
}
    

XML

<?xml version="1.0" encoding="UTF-8"?>
<PlaceSearchResponse>
 <status>OK</status>
 <result>
  <name>Aria Restaurant Sydney</name>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>1 Macquarie St, Sydney NSW 2000, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8592041</lat>
    <lng>151.2132635</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8605667</lat>
     <lng>151.2120097</lng>
    </southwest>
    <northeast>
     <lat>-33.8578671</lat>
     <lng>151.2147093</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.5</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJdxxU1WeuEmsR11c4fswX-Io</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uEDOK3C-umU4a2um8NR1G_b_MNPEG1ogm0PLp49myXaj0AD2aT60YrNlbrwnvg2VBrCmE2kBsuDmwZgXL8V-vU2ToVhNgp3A8zAjtx15slWyCxm3WCvWFEPE-_eBoj0Dlh83k_oWPN65B0blYM-qXLBY1PJZbq14gOUXabf31PSo1yA</photo_reference>
   <width>3024</width>
   <height>4032</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/112033760018394328606&quot;&gt;Dohyun Kim&lt;/a&gt;</html_attribution>
  </photo>
  <price_level>4</price_level>
  <user_ratings_total>1681</user_ratings_total>
  <place_id>ChIJdxxU1WeuEmsR11c4fswX-Io</place_id>
  <plus_code>
   <global_code>4RRH46R7+88</global_code>
   <compound_code>46R7+88 Sydney, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>Restaurant Hubert</name>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>15 Bligh St, Sydney NSW 2000, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8651396</lat>
    <lng>151.2104533</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8665413</lat>
     <lng>151.2091997</lng>
    </southwest>
    <northeast>
     <lat>-33.8638417</lat>
     <lng>151.2118993</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.6</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJF5-RdGquEmsR5rN_H74uSqQ</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uEDhALUBAcrBEprGmkq0_kj9kC4IEWod9h0PZBu-A1mXPN_ZfylpiDXRWxOtuONEFQIqjREf7C28LQDjzqVl4ZD0gZUk4Y0JHPDWaTlfVwijaPfw221p175Sk4po7rB2t7HgjQF2c5O12FYnvNzRiCrkOjr4xroJgzcnp1LV0y8w7gtb</photo_reference>
   <width>1024</width>
   <height>683</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/113719639442868633401&quot;&gt;Ashley Hughes&lt;/a&gt;</html_attribution>
  </photo>
  <price_level>3</price_level>
  <user_ratings_total>2393</user_ratings_total>
  <place_id>ChIJF5-RdGquEmsR5rN_H74uSqQ</place_id>
  <plus_code>
   <global_code>4RRH46M6+W5</global_code>
   <compound_code>46M6+W5 Sydney, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>Tetsuya's Restaurant</name>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>529 Kent St, Sydney NSW 2000, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8751241</lat>
    <lng>151.2049722</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8764568</lat>
     <lng>151.2038102</lng>
    </southwest>
    <northeast>
     <lat>-33.8737571</lat>
     <lng>151.2065099</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.6</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJxXSgfDyuEmsR3X5VXGjBkFg</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uEB_575EN5x3iSrUDg7DHG11QRK8rfHuSVXkDZ3pb6AV-YsP5zwykhIe3s7QiFXU_aHsUTrrxr4fk3GCDhebLdA2WYzPLy6jnlCC1VmKempE7auGiFFXpwIif6ZHmMbXjTVZYJEZCAsi_JypzPJCrKsCAB18FT9xHO7OnYXdmucWlX4w</photo_reference>
   <width>2304</width>
   <height>1536</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/104244205094808346734&quot;&gt;A Google User&lt;/a&gt;</html_attribution>
  </photo>
  <price_level>4</price_level>
  <user_ratings_total>1127</user_ratings_total>
  <place_id>ChIJxXSgfDyuEmsR3X5VXGjBkFg</place_id>
  <plus_code>
   <global_code>4RRH46F3+XX</global_code>
   <compound_code>46F3+XX Sydney, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>Bistro Papillon</name>
  <type>meal_takeaway</type>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>98 Clarence St, Sydney NSW 2000, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8679688</lat>
    <lng>151.2053027</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8693253</lat>
     <lng>151.2038767</lng>
    </southwest>
    <northeast>
     <lat>-33.8666257</lat>
     <lng>151.2065763</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.5</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJywXDWT-uEmsRxyuZ0Inwi04</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uEBIYHY3mR7m2duLrbyemmbf-L6H7XDkUMIZSmMyM_zoO26vDSWPjRL-TCnXOMZwRkV9ZTEmTMkfzMm3Jw_W1fx8JiKTZICa5pIPWL_O1yTqyvPemrQFeUBtTgkKUTD7GpDFyuMkYo0yG3MDqTf5YHDGvoHMDND3KK-bDYHoN6pB2TdX</photo_reference>
   <width>2160</width>
   <height>2880</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/115283784392961129380&quot;&gt;kate Kwak&lt;/a&gt;</html_attribution>
  </photo>
  <price_level>3</price_level>
  <user_ratings_total>498</user_ratings_total>
  <place_id>ChIJywXDWT-uEmsRxyuZ0Inwi04</place_id>
  <plus_code>
   <global_code>4RRH46J4+R4</global_code>
   <compound_code>46J4+R4 Sydney, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>Mode Kitchen &amp; Bar</name>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>Ground Floor, 199 George St, Sydney NSW 2000, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8616781</lat>
    <lng>151.2077174</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8630911</lat>
     <lng>151.2064859</lng>
    </southwest>
    <northeast>
     <lat>-33.8603914</lat>
     <lng>151.2091856</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.4</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJL2r6S0KuEmsRxzk0sfWZYnU</reference>
  <opening_hours>
   <open_now>true</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uEASPu-rtJYGv3tQapjyWGceD6yK1nxYroqbfdKjKQhmo9CgUZXFy7XxcKSMz750vOrWpGmM3x01vIOgFbrI1i2k9j_dPzAL448dG7nr2YWTgnDZ9m7BAJ6GiX6VL8M0jDQDdP3pe_0AmFlXaE3Z8ap8Dht421fJd_6aTB8jM8pgGTJ1</photo_reference>
   <width>2048</width>
   <height>1536</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/104492734984758109746&quot;&gt;Mode Kitchen &amp;amp; Bar&lt;/a&gt;</html_attribution>
  </photo>
  <price_level>2</price_level>
  <user_ratings_total>217</user_ratings_total>
  <place_id>ChIJL2r6S0KuEmsRxzk0sfWZYnU</place_id>
  <plus_code>
   <global_code>4RRH46Q5+83</global_code>
   <compound_code>46Q5+83 Sydney, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>Long Chim Sydney</name>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>Colonial Mutual Life Building, Angel Pl, Sydney NSW 2000, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8671138</lat>
    <lng>151.2083642</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8684484</lat>
     <lng>151.2070880</lng>
    </southwest>
    <northeast>
     <lat>-33.8657487</lat>
     <lng>151.2097877</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.1</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJ98SIQkCuEmsRQAStwDCAshw</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uEDYTJ_ClkXilumsKfeHZcY2_hKSzfiC70R7vT_IusY42yfbtOHUdOAMW8v8d0L0AQvUB7826adF_Qa_atQgeCWd6zqzg_Dzg3-_zRLP-2oJhkUfF1-mA1EjGFzT32Pee_JoTfRBM-d5f7UO7nhCIPN614-yz2ypFMzRh6-3EruKpbVo</photo_reference>
   <width>6720</width>
   <height>4480</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/106160289014902493250&quot;&gt;Long Chim Sydney&lt;/a&gt;</html_attribution>
  </photo>
  <price_level>3</price_level>
  <user_ratings_total>1234</user_ratings_total>
  <place_id>ChIJ98SIQkCuEmsRQAStwDCAshw</place_id>
  <plus_code>
   <global_code>4RRH46M5+58</global_code>
   <compound_code>46M5+58 Sydney, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>Alberto's Lounge</name>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>17-19 Alberta St, Sydney NSW 2000, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8777986</lat>
    <lng>151.2105307</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8791661</lat>
     <lng>151.2092540</lng>
    </southwest>
    <northeast>
     <lat>-33.8764664</lat>
     <lng>151.2119536</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.6</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJU_xO9hOvEmsRERZv-itx524</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uEBnAfmnxStOZnhEcR3-976dYbszZ_hzsoAIJC9-_vEn0wvChH6zgnRKsZJ_Zjf5WybF9w_nDTf-vAVwXm2bV7Tk2d7hHmpxawrmlTJwKIEzlrpSWmEDR_UkBZCe8dyu7k9eP34cnn-jhJ0DG-Nqna7B1P2szOwNq0vXthSh2OH-Ju0c</photo_reference>
   <width>6000</width>
   <height>4000</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/117499940191355312122&quot;&gt;Kreeson Naraidoo&lt;/a&gt;</html_attribution>
  </photo>
  <user_ratings_total>548</user_ratings_total>
  <place_id>ChIJU_xO9hOvEmsRERZv-itx524</place_id>
  <plus_code>
   <global_code>4RRH46C6+V6</global_code>
   <compound_code>46C6+V6 Sydney, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>Chophouse Sydney</name>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>25 Bligh St, Sydney NSW 2000, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8654401</lat>
    <lng>151.2101016</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8668715</lat>
     <lng>151.2088779</lng>
    </southwest>
    <northeast>
     <lat>-33.8641719</lat>
     <lng>151.2115775</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.3</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJZ-VZ30GuEmsRwLVCmEo-B2I</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uEB6GmfS8qjARra9ElfvZpvskRpJ4Mr-5LcbS-nSgIT32EGudsWPtYEpi_m2tmOho6jLnUaLj8kbHM65wZHtMygWtwqWOb_MLy1Dzjm8dW90PYxiTvIw1Cz_f42PloxOrPwWA0s4gA_psVouwLMHjgStdijRRAhQQG3dUx3hc93CTQu9</photo_reference>
   <width>5325</width>
   <height>3550</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/106047480665428753229&quot;&gt;A Google User&lt;/a&gt;</html_attribution>
  </photo>
  <price_level>3</price_level>
  <user_ratings_total>1174</user_ratings_total>
  <place_id>ChIJZ-VZ30GuEmsRwLVCmEo-B2I</place_id>
  <plus_code>
   <global_code>4RRH46M6+R2</global_code>
   <compound_code>46M6+R2 Sydney, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>Ester Restaurant</name>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>46-52 Meagher St, Chippendale NSW 2008, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8874605</lat>
    <lng>151.2008331</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8888761</lat>
     <lng>151.1994873</lng>
    </southwest>
    <northeast>
     <lat>-33.8861764</lat>
     <lng>151.2021869</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.5</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJ7WdhetixEmsRzIf7Q-q6ocY</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uEAoMIMjNyufL4s2Q9OX6WYTJhV6AQwglO9DCeRukUTCglQDQJSiy0GpHswEtMvD-NmX3YUAqkuoqYh9FT-IWtsOzQu_5GL_xoskTuxEHM44cjViAhc8mux0IyMamRYOt-mD_FNgjhG_I-aZLZRNddpOyKTmgGrLMFT9KxgUsaZbom6s</photo_reference>
   <width>3024</width>
   <height>4032</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/105059859896721262581&quot;&gt;Angela Tong&lt;/a&gt;</html_attribution>
  </photo>
  <price_level>3</price_level>
  <user_ratings_total>956</user_ratings_total>
  <place_id>ChIJ7WdhetixEmsRzIf7Q-q6ocY</place_id>
  <plus_code>
   <global_code>4RRH4672+28</global_code>
   <compound_code>4672+28 Chippendale, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>Bentley Restaurant + Bar</name>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>27 O'Connell St, Sydney NSW 2000, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8652017</lat>
    <lng>151.2088233</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8667190</lat>
     <lng>151.2076581</lng>
    </southwest>
    <northeast>
     <lat>-33.8640194</lat>
     <lng>151.2103577</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.3</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJybJExkGuEmsRmpbxj1gH_-U</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uEAI5yU3pPT-zN5-sdEYxOMbm8M8DWd4suLm2rz7QTFoiQzqrCydQDBWXTfURcmzblCVB_9HjrUTZQVdeDf7_rIckOQO_Qi0xKSSWDZeVCy59pCnJbbesPL6d-dbGmJN8_U76e7MeC0toK2PXu6e3pM1jrvWHqivFYn-DrpgnwzvYFa6</photo_reference>
   <width>3024</width>
   <height>3024</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/110444118100375330898&quot;&gt;A Google User&lt;/a&gt;</html_attribution>
  </photo>
  <price_level>4</price_level>
  <user_ratings_total>606</user_ratings_total>
  <place_id>ChIJybJExkGuEmsRmpbxj1gH_-U</place_id>
  <plus_code>
   <global_code>4RRH46M5+WG</global_code>
   <compound_code>46M5+WG Sydney, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>LuMi Dining</name>
  <type>bar</type>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>56 Pirrama Rd, Pyrmont NSW 2009, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8668159</lat>
    <lng>151.1973855</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8682553</lat>
     <lng>151.1963434</lng>
    </southwest>
    <northeast>
     <lat>-33.8655556</lat>
     <lng>151.1990431</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.6</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJDZzo5DeuEmsRsi1wzrIp6HY</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uEDFfhA9aufUHpBzIKCP4q_DTYX2Yd_wGEJXa2DYC2AQEoyNewXshA6iTnI6LhzxGxmOKs5j7mSHFkWvDhd8nqoUVmLiA9JHsKRyAt-G__GdhTc84HdRE7ieAC66VN0jqbUXX3TmVPI-5cccriWG5BRIRHAU9f90pmNop1Vti6LC8UB5</photo_reference>
   <width>4608</width>
   <height>3456</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/111354624612472023397&quot;&gt;Qing-Ling Tran&lt;/a&gt;</html_attribution>
  </photo>
  <price_level>4</price_level>
  <user_ratings_total>648</user_ratings_total>
  <place_id>ChIJDZzo5DeuEmsRsi1wzrIp6HY</place_id>
  <plus_code>
   <global_code>4RRH45MW+7X</global_code>
   <compound_code>45MW+7X Pyrmont, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>The Malaya</name>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>39 Lime St, Sydney NSW 2000, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8678060</lat>
    <lng>151.2017201</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8691645</lat>
     <lng>151.2004812</lng>
    </southwest>
    <northeast>
     <lat>-33.8664648</lat>
     <lng>151.2031808</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.5</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJ4U8HhjiuEmsRyevJVTxWbFo</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uEAI2M5mDoKxPckPx8RAZLGSXAorNmy1FTuRpWhq6J9FwEz3O6EgZ6AVBKVBeqdb55BUQbvRwRrPfpwS6gLWnEic3ZyF4yhQweZlvTWeAokaJfB9x46B-0fZabajOseLRvWlion1EfNE5NukSnUlCNdBOFhVzla6J9CRqnL6pDYuXUZE</photo_reference>
   <width>884</width>
   <height>885</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/112797482079521405927&quot;&gt;The Malaya&lt;/a&gt;</html_attribution>
  </photo>
  <price_level>3</price_level>
  <user_ratings_total>1344</user_ratings_total>
  <place_id>ChIJ4U8HhjiuEmsRyevJVTxWbFo</place_id>
  <plus_code>
   <global_code>4RRH46J2+VM</global_code>
   <compound_code>46J2+VM Sydney, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>Bopp &amp; Tone</name>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>60 Carrington St, Sydney NSW 2000, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8668185</lat>
    <lng>151.2064637</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8681599</lat>
     <lng>151.2049975</lng>
    </southwest>
    <northeast>
     <lat>-33.8654602</lat>
     <lng>151.2076972</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.7</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJfTxskB6vEmsRXPSIwVlleUA</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uECFiufSe67B2S0vtMycnD_cmcvnWn3pm-buo7d9Kw3i0m5Q4nfLh5k3AdpDSFpGBstplDqp68gNtIOX5JCT8HkTge285MwXRj1FdJliukKmcgidNJhJ_R_5M-fZPOnf5Nsg8gSxyY4Rtj0p_eF4JRK_asuAlTN1EZu1zoWybD8jCXUa</photo_reference>
   <width>1772</width>
   <height>1179</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/103398240624630529212&quot;&gt;Md. Kurban Ali&lt;/a&gt;</html_attribution>
  </photo>
  <price_level>1</price_level>
  <user_ratings_total>689</user_ratings_total>
  <place_id>ChIJfTxskB6vEmsRXPSIwVlleUA</place_id>
  <plus_code>
   <global_code>4RRH46M4+7H</global_code>
   <compound_code>46M4+7H Sydney, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>Balcón by Tapavino</name>
  <type>bar</type>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>17 Bligh St, Sydney NSW 2000, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8653056</lat>
    <lng>151.2103593</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8667105</lat>
     <lng>151.2090946</lng>
    </southwest>
    <northeast>
     <lat>-33.8640109</lat>
     <lng>151.2117943</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.4</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJTxj0dGquEmsR-6tLuaGJl_M</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uED5N65Dx0XRtnVbIqs9ZJH_4Fq94LbS5SR3d47yO6_4peX8mranc7iQD5PYsoIMhRj2HoM-douYt8NSbLxffI8OA82DBqRH51Ws-UZ4l8sdlsPO_K_bhBHqcHwAlyoiCogOdiWbIQOnNxPSk9uIoN6iw2BiYVMJ6QHL5blDvwMPuex8</photo_reference>
   <width>4192</width>
   <height>2359</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/116762976445257331541&quot;&gt;A Google User&lt;/a&gt;</html_attribution>
  </photo>
  <price_level>3</price_level>
  <user_ratings_total>615</user_ratings_total>
  <place_id>ChIJTxj0dGquEmsR-6tLuaGJl_M</place_id>
  <plus_code>
   <global_code>4RRH46M6+V4</global_code>
   <compound_code>46M6+V4 Sydney, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>The Restaurant Pendolino</name>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>Shop 100/412/414 George St, Sydney NSW 2000, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8694151</lat>
    <lng>151.2071166</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8707651</lat>
     <lng>151.2057950</lng>
    </southwest>
    <northeast>
     <lat>-33.8680655</lat>
     <lng>151.2084947</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.6</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJL1zhdD-uEmsRgDPXKOx1JyU</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uEDW1_ot96k5VApQcZXBAVHCx1eUQPDWTeH-0sBvTmeApl3t4sEUkt2AtWLq7Wq8IL9CVGFeahXbUtXJAZHzdITnyUCa-5EG1SeNsOEMWfwiTKoJi50_6hl2FJVHG4BldEoy-gjiLPXfQxSPizoJ9smNrHpY9MJOeOQPGoEnQSCbnFNX</photo_reference>
   <width>2048</width>
   <height>1365</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/115568244243208638832&quot;&gt;The Restaurant Pendolino&lt;/a&gt;</html_attribution>
  </photo>
  <price_level>3</price_level>
  <user_ratings_total>505</user_ratings_total>
  <place_id>ChIJL1zhdD-uEmsRgDPXKOx1JyU</place_id>
  <plus_code>
   <global_code>4RRH46J4+6R</global_code>
   <compound_code>46J4+6R Sydney, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>Mercado</name>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>4 Ash St, Sydney NSW 2000, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8669418</lat>
    <lng>151.2075261</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8682719</lat>
     <lng>151.2062253</lng>
    </southwest>
    <northeast>
     <lat>-33.8655722</lat>
     <lng>151.2089249</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.4</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJCXaGXkCuEmsR_O_xTuWrmT8</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uECysyb1M4tFjho7NYo_zXDvRRoncAcjOCTWTRaHDHyvYqz39a51V1jSRnli1aWRZia5Nj9oA0qyEwwo5EL4Lx9XF8lhCqqHxLrW81zjLdpSZJcgTRXCpl_YX8yGmucIc_T7doIQBbaPoszBcXMmsG9E0QtTDgpJIgXC93MX917qT5wm</photo_reference>
   <width>4774</width>
   <height>3183</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/108000506056576855925&quot;&gt;Mercado&lt;/a&gt;</html_attribution>
  </photo>
  <price_level>3</price_level>
  <user_ratings_total>572</user_ratings_total>
  <place_id>ChIJCXaGXkCuEmsR_O_xTuWrmT8</place_id>
  <plus_code>
   <global_code>4RRH46M5+62</global_code>
   <compound_code>46M5+62 Sydney, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>Ragazzi Wine and Pasta</name>
  <type>restaurant</type>
  <type>bar</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>1 Angel Pl, Sydney NSW 2000, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8670308</lat>
    <lng>151.2080670</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8683320</lat>
     <lng>151.2067692</lng>
    </southwest>
    <northeast>
     <lat>-33.8656324</lat>
     <lng>151.2094689</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.4</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJTRnbxc6vEmsRnUOl_URYSvs</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uEAnB9av4dExHGCmokuwLR2HELk1Ax5XzRo9twmtSQWKb4a0pf8uOhyZ4K0m8lqzIiTQxoGGD-va1NFK2gngsNtblRy1A2FW0hjXZ5MqgTwN3GyCJZndEG2eXDmtqzkR1DabMAwH8jVBhrRzF4oXF7y0i9unIYhejDXF1H8a3HZOKsbC</photo_reference>
   <width>1500</width>
   <height>1000</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/105392127649390940296&quot;&gt;A Google User&lt;/a&gt;</html_attribution>
  </photo>
  <user_ratings_total>433</user_ratings_total>
  <place_id>ChIJTRnbxc6vEmsRnUOl_URYSvs</place_id>
  <plus_code>
   <global_code>4RRH46M5+56</global_code>
   <compound_code>46M5+56 Sydney, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>Automata Restaurant</name>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>5 Kensington St, Chippendale NSW 2008, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8848073</lat>
    <lng>151.2015895</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8861029</lat>
     <lng>151.2002601</lng>
    </southwest>
    <northeast>
     <lat>-33.8834033</lat>
     <lng>151.2029598</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.4</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJhfcGASeuEmsRmj19JwYiqUo</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uEA1LtCMc_9HbRv6x9paQJzlTKUAxhvco4YHpUktm4GqhHuz_6-HRWNycAjjO1XllSMlUmH5iIr_Qf6ucjchixAF0Q9ioU2y-9fbiffNItlivtnY000LENzESXgSeffpsulTegsbIuQX_JhgpmJVGHaj_n__qNStW--Fi8N9k3ZCYOg2</photo_reference>
   <width>4032</width>
   <height>3024</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/106155344778912457393&quot;&gt;IS L&lt;/a&gt;</html_attribution>
  </photo>
  <price_level>3</price_level>
  <user_ratings_total>474</user_ratings_total>
  <place_id>ChIJhfcGASeuEmsRmj19JwYiqUo</place_id>
  <plus_code>
   <global_code>4RRH4682+3J</global_code>
   <compound_code>4682+3J Chippendale, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>Bennelong</name>
  <type>bar</type>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>Bennelong Point, Sydney NSW 2000, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8567498</lat>
    <lng>151.2152535</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8599259</lat>
     <lng>151.2127784</lng>
    </southwest>
    <northeast>
     <lat>-33.8556911</lat>
     <lng>151.2160785</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.5</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJQcmNYGauEmsR84D5HAJJUhw</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uEBN5MfpfIub5bzvSFitY5CC-ES_tPEsSCAXUk80G3sJySzElU5i2mZTJemIQ3RE5pomM-0v14qU5K18Hy8-Rk85OqKwyhuxzwCN12odr4c1QSWeUxQjxaWtPjB1y4smC8ylvvg44WBYdRIsKI-hApZi0H6KL8Q4iqQeYodiCoOntf7u</photo_reference>
   <width>5760</width>
   <height>3840</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/112111459665476218482&quot;&gt;A Google User&lt;/a&gt;</html_attribution>
  </photo>
  <price_level>4</price_level>
  <user_ratings_total>1230</user_ratings_total>
  <place_id>ChIJQcmNYGauEmsR84D5HAJJUhw</place_id>
  <plus_code>
   <global_code>4RRH46V8+84</global_code>
   <compound_code>46V8+84 Sydney, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <result>
  <name>Machiavelli</name>
  <type>meal_takeaway</type>
  <type>restaurant</type>
  <type>point_of_interest</type>
  <type>food</type>
  <type>establishment</type>
  <formatted_address>123 Clarence St, Sydney NSW 2000, Australia</formatted_address>
  <geometry>
   <location>
    <lat>-33.8671505</lat>
    <lng>151.2049296</lng>
   </location>
   <viewport>
    <southwest>
     <lat>-33.8685262</lat>
     <lng>151.2036581</lng>
    </southwest>
    <northeast>
     <lat>-33.8658266</lat>
     <lng>151.2063577</lng>
    </northeast>
   </viewport>
  </geometry>
  <rating>4.5</rating>
  <icon>https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png</icon>
  <reference>ChIJgVcAr0CuEmsRJjJm03tgFtE</reference>
  <opening_hours>
   <open_now>false</open_now>
  </opening_hours>
  <photo>
   <photo_reference>Aap_uEAlIr0YADNigunIHOCD0HLmCGbIdYySxTJ9_20JMJrAu1-W1V7fsayi_5og9BCOP7ncnmUJFhsgjipUhCbntAjETKS0BVVyR8Cj12iIMTHgmXcaIH8c87uD8741Duzf49NdouiKyXikvgY7O1cc9LIREW7sGopmKRXdTfbZZpdgMz0X</photo_reference>
   <width>1280</width>
   <height>605</height>
   <html_attribution>&lt;a href=&quot;https://maps.google.com/maps/contrib/110393729963013157229&quot;&gt;Nikhil Kuchroo&lt;/a&gt;</html_attribution>
  </photo>
  <price_level>3</price_level>
  <user_ratings_total>529</user_ratings_total>
  <place_id>ChIJgVcAr0CuEmsRJjJm03tgFtE</place_id>
  <plus_code>
   <global_code>4RRH46M3+4X</global_code>
   <compound_code>46M3+4X Sydney, New South Wales, Australia</compound_code>
  </plus_code>
  <icon_background_color>#FF9E67</icon_background_color>
  <business_status>OPERATIONAL</business_status>
  <icon_mask_base_uri>https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet</icon_mask_base_uri>
 </result>
 <next_page_token>Aap_uEC8n0Fzu2WsA7IqaEJty09klsnvXEYZe0aL8dIiZx3fOOfo1xYHZR00qrq-obJbYY9YRkftL-Pv__rQ-efJHSxv19gDtol2ARoY9wpi0ENg-vUAkDVt2W0mOqDy4Kjz9rm5-tzk6fhKR6r4wbLkdgXbKLuNM7KEhsjspU0RC5jQZa4FK_cM9qeUPx5IkPdAa11b9EJwKPEy-ixe77eXeRbEzDYhC5rhylkoOGbF1mHVJVxr--u-Ihe0YaFogaWDx50BcCcMN-eDetaUBJwXDnzHxtirIRF5C_yFavCzWcFn5TOC_z9Ltc-U0L5zbv3lQ7Z6kfVuOeKp4u5_lEHwfz-LuHyETKE6QwQypJUPS3AS8BFs2pYm9r_ruao6YVYsFfDGs1-9QPsVUeSjCN3NuRvbkA</next_page_token>
</PlaceSearchResponse>

    

PlacesTextSearchResponse

字段 必需 类型 说明
required 数组<string>

可能包含有关相应商家信息的一组提供方信息,这些信息必须向用户显示(某些商家信息可能没有提供方信息)。

required 数组<地点>

包含一个地点数组。

“地点搜索”请求会返回“地点详情”请求返回的部分字段。如果“地点搜索”未返回您所需的字段,您可以使用“地点搜索”获取 place_id,然后使用该地点 ID 发出“地点详情”请求。

如需了解详情,请参阅地点

required PlacesSearchStatus

包含请求的状态,可能还包含调试信息,以帮助您跟踪请求失败的原因。

如需了解详情,请参阅 PlacesSearchStatus

可选 字符串

当服务返回的状态代码不是 OK< 时,响应对象中可能包含额外的 error_message 字段。此字段包含有关给定状态代码背后原因的更详细信息。此字段并非始终会返回,并且其内容可能会发生变化。

可选 数组<string>

当服务返回有关请求规范的其他信息时,响应对象中可能会包含额外的 info_messages 字段。此字段仅针对成功请求返回。它可能并不总是返回,并且其内容可能会发生变化。

可选 字符串

包含一个令牌,可用于返回最多 20 个额外结果。如果没有其他结果可供显示,则不会返回 next_page_token。可返回的结果数上限为 60。从发出 next_page_token 到该令牌生效之间存在短暂的延迟。

PlacesSearchStatus

服务返回的状态代码。

  • OK:表示 API 请求成功。
  • ZERO_RESULTS 表示搜索成功,但未返回任何结果。如果搜索传递了远程位置中的 latlng,就可能会发生这种情况。
  • INVALID_REQUEST 表示 API 请求格式有误,通常是因为缺少必需的查询参数(locationradius)。
  • OVER_QUERY_LIMIT 表示以下任一情况:
    • 您已超出 QPS 限额。
    • 您的账号尚未启用结算功能。
    • 超出了每月 200 美元的赠金或您设定的用量上限。
    • 提供的付款方式不再有效(例如,信用卡已过期)。
    如需详细了解如何解决此错误,请参阅地图常见问题解答
  • REQUEST_DENIED 表示您的请求已遭拒,通常是因为:
    • 请求中缺少 API 密钥。
    • key 参数无效。
  • UNKNOWN_ERROR:表示出现未知错误。

地点

描述地点的属性。并非所有属性都适用于所有地点类型。

字段 必需 类型 说明
可选 Array<AddressComponent>

一个数组,其中包含适用于相应地址的各个组成部分。

如需了解详情,请参阅 AddressComponent

可选 字符串

adr 微格式表示的地点地址。

可选 字符串

表示地点的营业状态(如果该地点为商家)。 如果不存在任何数据,将不会返回 business_status

The allowed values include: OPERATIONAL, CLOSED_TEMPORARILY, and CLOSED_PERMANENTLY
可选 布尔值

指定商家是否支持路边取货。

可选 PlaceOpeningHours

包含未来 7 天(包括今天)的营业时间。时间段从请求当天的午夜开始,到六天后的晚上 11:59 结束。此字段包含所有营业时间的 special_days 子字段,适用于营业时间特殊的日期。

如需了解详情,请参阅 PlaceOpeningHours

可选 布尔值

指定商家是否支持配送。

可选 布尔值

指定商家是否支持室内或室外座位选项。

可选 PlaceEditorialSummary

包含地点的摘要。摘要包含文本概览,如果适用,还包含这些文本概览的语言代码。摘要文字必须按原样呈现,不得修改或更改。

如需了解详情,请参阅 PlaceEditorialSummary

可选 字符串

一个字符串,包含此地点直观易懂的地址。

此地址通常相当于邮政地址。请注意,由于许可限制,某些国家/地区(例如英国)不允许发布真实的邮政地址。

设置了格式的地址在逻辑上包含一个或多个地址组成部分。例如,地址“111 8th Avenue, New York, NY”包含以下组成部分:“111”(门牌号)、“8th Avenue”(路由)、“New York”(城市)和“NY”(美国州名)。

请勿以程序化方式解析设有格式的地址。您应改用单独的地址组成部分,API 响应除了包含设有格式的地址字段外,还包含这些组成部分。

可选 字符串

包含地点的电话号码(采用本地格式)。

可选 Geometry

包含相应位置的位置和视口。

如需了解详情,请参阅 Geometry

可选 字符串

包含建议的图标的网址,该图标可能会在地图上显示此结果时向用户显示。

可选 字符串

包含地点类别的默认十六进制颜色代码。

可选 字符串

包含建议图标的网址,但不含 .svg.png 文件类型扩展名。

可选 字符串

包含地点的电话号码(采用国际电话号码格式)。 国际电话号码格式包含国家/地区代码,并且带有一个加号 (+) 前缀。例如,Google 澳大利亚悉尼办事处的 international_phone_number 为 +61 2 9374 4000

可选 字符串

包含返回结果的简单易懂的名称。对于 establishment 结果,这通常是规范化的商家名称。

可选 PlaceOpeningHours

包含正常营业时间。

如需了解详情,请参阅 PlaceOpeningHours

可选 布尔值

使用 business_status 获取商家的营业状态。

可选 数组<PlacePhoto>

照片对象数组,每个对象都包含对图片的引用。 一个请求最多可返回 10 张照片。如需详细了解地点照片以及如何在应用中使用这些图片,请参阅地点照片文档。

如需了解详情,请参阅 PlacePhoto

可选 字符串

唯一标识地点的文本标识符。如需检索地点的相关信息,请在 Places API 请求的 place_id 字段中传递此标识符。如需详细了解地点 ID,请参阅地点 ID 概览

可选 PlusCode

经过编码的位置引用,衍生自纬度和经度坐标,表示面积不超过 1/8, 000 度 x 1/8, 000 度(在赤道处约为 14 米 x 14 米)的区域。 在没有街道地址的地点(例如建筑物未编号,或者街道未命名),Plus Code 可替代街道地址使用。请参阅 Open Location CodePlus Code

如需了解详情,请参阅 PlusCode

可选 数值

相应地点的价格水平,范围为 0 到 4。具体金额会因地区而异。价格水平的解读如下:

  • 0 免费
  • 1 便宜
  • 2 中度
  • 3 偏贵
  • 4 非常昂贵
可选 数值

包含根据用户总体评价得出的地点评分(从 1.0 到 5.0)。

可选 字符串
可选 布尔值

指定相应地点是否支持预订。

可选 Array<PlaceReview>

一个最多包含五条评价的 JSON 数组。默认情况下,评价会按相关性排序。使用 reviews_sort 请求参数来控制排序。

  • 对于 most_relevant(默认),评价按相关性排序;该服务会偏向于返回最初以首选语言撰写的评价。
  • 对于 newest,评价按时间顺序排序;首选语言不会影响排序顺序。

Google 建议向用户指明结果是按 most_relevant 还是 newest 排序的。

如需了解详情,请参阅 PlaceReview

可选 字符串
可选 Array<PlaceOpeningHours>

包含未来 7 天的条目数组,其中包括有关商家次要营业时间的信息。次要营业时间与商家的主要营业时间不同。例如,餐厅可以将外卖自取时间或送餐时间指定为次要营业时间。此字段会填充 type 子字段,该子字段会根据地点的类型从预定义的营业时间类型列表(例如 DRIVE_THROUGHPICKUPTAKEOUT)中提取数据。此字段包含所有小时的 special_days 子字段,针对具有特殊营业时间的日期设置。

如需了解详情,请参阅 PlaceOpeningHours

可选 布尔值

指定相应场所是否供应啤酒。

可选 布尔值

指定相应场所是否供应早餐。

可选 布尔值

指定营业地点是否供应早午餐。

可选 布尔值

指定相应场所是否提供晚餐。

可选 布尔值

指定相应场所是否提供午餐。

可选 布尔值

指定相应场所是否供应素食。

可选 布尔值

指定相应场所是否供应葡萄酒。

可选 布尔值

指定商家是否支持外卖。

可选 数组<string>

包含一个描述指定结果的地图项类型数组。请参阅支持的类型列表。

可选 字符串

包含相应地点的官方 Google 页面的网址。这是由 Google 拥有的页面,其中包含有关该地点的实用信息。在任何向用户显示该地点详细结果的界面上,应用必须提供此页面的链接或者嵌入此页面。

可选 数值

此地点的评价总数(无论是否包含文字)。

可选 数值

包含相应地点当前时区与世界协调时间 (UTC) 的分钟偏移量。例如,对于澳大利亚悉尼在夏令时期间的地点,此值为 660(比世界协调时间 (UTC) 快 11 小时);对于加利福尼亚州在非夏令时期间的地点,此值为 -480(比世界协调时间 (UTC) 慢 8 小时)。

可选 字符串

对于商家 (types:["establishment", ...])) 结果,vicinity 字段包含地点的简化地址,包括街道名称、门牌号和市行政区,但不包括省/州、邮政编码或国家/地区。

对于所有其他结果,vicinity 字段包含结果地址中最窄的政区地图项 (types:["political", ...]) 的名称。

此内容应按原样读取。请勿以程序化方式解析设置了格式的地址。

可选 字符串

此地点的权威网站,例如商家主页。

可选 布尔值

指定场所是否有无障碍入口。

PlaceEditorialSummary

包含地点的摘要。摘要包含文本概览,还包括这些文本概览的语言代码(如适用)。摘要文本必须按原样呈现,不得修改或更改。

字段 必需 类型 说明
可选 字符串

上述字段的语言。可能不一定存在。

可选 字符串

地点的中等长度文本摘要。

PlaceOpeningHours

一个用于描述地点营业时间的对象。

字段 必需 类型 说明
可选 布尔值

一个布尔值,用于指示相应地点当前是否正在营业。

可选 Array<PlaceOpeningHoursPeriod>

一个涵盖七天的营业时段数组,从星期日开始,按时间顺序排列。

如需了解详情,请参阅 PlaceOpeningHoursPeriod

可选 数组<PlaceSpecialDay>

一个数组,最多包含 7 个条目,分别对应未来 7 天。

如需了解详情,请参阅 PlaceSpecialDay

可选 字符串

用于标识次要营业时间类型的类型字符串(例如 DRIVE_THROUGHHAPPY_HOURDELIVERYTAKEOUTKITCHENBREAKFASTLUNCHDINNERBRUNCHPICKUPSENIOR_HOURS)。仅针对 secondary_opening_hours 设置。

可选 数组<string>

一个字符串数组,以人类可读的文本描述相应地点的营业时间。

PlaceOpeningHoursPeriod

字段 必需 类型 说明
required PlaceOpeningHoursPeriodDetail

包含一对日期和时间对象,用于说明该地点的营业时段。

如需了解详情,请参阅 PlaceOpeningHoursPeriodDetail

可选 PlaceOpeningHoursPeriodDetail

可能包含一对日期和时间对象,用于说明该地点的休息时段。如果某个地点全天营业,响应中将缺少“关闭”部分。客户端可以通过以下方式表示全天营业:将营业时间段中的日期设置为 0,将时间设置为 0000,并且不包含 close

如需了解详情,请参阅 PlaceOpeningHoursPeriodDetail

PlaceSpecialDay

字段 必需 类型 说明
可选 字符串

以 RFC3339 格式表示的日期,采用相应地点的本地时区,例如 2010-12-31。

可选 布尔值

如果当天有特殊营业时间,则为 True。如果值为 true,则表示当天至少存在一个例外情况。异常会导致 current_opening_hourssecondary_opening_hours 的子字段中出现不同的值,例如 periodsweekday_textopen_now。例外情况适用于营业时间,而营业时间用于生成其他字段。

PlaceOpeningHoursPeriodDetail

字段 必需 类型 说明
required 数值

一个介于 0 到 6 之间的数字,对应于星期几(从星期日开始)。例如,2 表示星期二。

required 字符串

可能包含一天中的某个时段,采用 24 小时制 hhmm 格式。值介于 0000 到 2359 之间。系统将按地点的时区报告时间。

可选 字符串

以 RFC3339 格式表示的日期,采用相应地点的本地时区,例如 2010-12-31。

可选 布尔值

如果给定的时间段因七天截止时间而截断,则为 true;其中,时间段的开始时间早于请求日期午夜,并且/或者结束时间为最后一天午夜或之后。此属性表示开放或关闭的期限可以超过此七天截止期限。

PlacePhoto

地点的照片。可以使用 Place Photo API 通过以下格式的网址访问照片:

https://maps.googleapis.com/maps/api/place/photo?maxwidth=400&photo_reference=photo_reference&key=YOUR_API_KEY

如需了解详情,请参阅地点照片

字段 必需 类型 说明
required 数值

照片的高度。

required 数组<string>

照片的 HTML 提供方信息。

required 字符串

在执行照片请求时用于标识照片的字符串。

required 数值

照片的宽度。

PlaceReview

用户提交的地点评价。

字段 必需 类型 说明
required 字符串

提交评价的用户的名称。匿名评价的作者统称为“Google 用户”。

required 数值

用户对此地点的总体评分。这是一个整数,范围为 1 至 5。

required 字符串

评价提交时间(以文本形式表示,相对于当前时间)。

required 数值

提交评价的时间,以自世界协调时间 (UTC) 1970 年 1 月 1 日午夜起经过的秒数表示。

可选 字符串

指向用户 Google 地图本地向导个人资料(如果有的话)的网址。

可选 字符串

表示返回的评价所用语言的 IETF 语言代码。此字段仅包含主要语言标记,而不包含表示国家或地区的辅助标记。例如,所有英语评价都标记为“en”,而不是“en-AU”或“en-UK”等。如果只有评分而没有评价文本,则此字段为空。

可选 字符串

表示评价的原始语言的 IETF 语言代码。如果评价已翻译,则 original_language != language。此字段仅包含主要语言标记,而不包含表示国家或地区的辅助标记。例如,所有英语评价都标记为“en”,而不是“en-AU”或“en-UK”等。如果只有评分而没有评价文字,此字段为空。

可选 字符串

指向用户个人资料照片的网址(如果有)。

可选 字符串

用户的评价。通过 Google 地点评价某个位置时,文本评价被视为可选项。因此,此字段可能为空。请注意,此字段可能包含基本的 HTML 标记。例如,实体引用 &amp; 可能表示和号字符。

可选 布尔值

一个布尔值,用于指示评价是否是从撰写时使用的原始语言翻译而来的。如果评价已翻译,则此值为 true,Google 建议您向用户指明这一点。例如,您可以在评价中添加以下字符串:“由 Google 翻译”。

访问其他结果

默认情况下,每个响应每次查询最多返回 20 条 establishment 结果;不过,每次搜索最多可以返回 60 条结果,分三页显示。如果搜索结果超过 20 个,搜索响应将包含一个额外的值:next_page_token。将 next_page_token 的值传递给新请求的 pagetoken 参数,即可查看下一组结果。

  • 如果 next_page_token 为 null 或未返回,则表示没有更多结果。
  • 使用相同的 next_page_token 重试请求将返回下一页结果。
  • 如果将此参数设置为 pagetoken,系统会忽略所有其他参数。
  • 在原始查询之后,您最多可以请求两次新页面。
  • 每次请求(包括使用 next_page_token 的请求)都算作用量限额中的一次请求,并单独收费。
  • 从签发 next_page_token 到其生效之间会有几秒钟的延迟。如果在下一页可用之前请求该页,系统将返回 INVALID_REQUEST 响应。带有 next_page_token 的请求始终会收费。

例如,在以下查询中,我们搜索了澳大利亚悉尼达令港附近的餐厅,并按距离对结果进行了排名。您可以看到,响应包含 next_page_token 属性。

{
   "html_attributions" : [],
   "next_page_token" : "CpQCAgEAAFxg8o-eU7_uKn7Yqjana-HQIx1hr5BrT4zBaEko29ANsXtp9mrqN0yrKWhf-y2PUpHRLQb1GT-mtxNcXou8TwkXhi1Jbk-ReY7oulyuvKSQrw1lgJElggGlo0d6indiH1U-tDwquw4tU_UXoQ_sj8OBo8XBUuWjuuFShqmLMP-0W59Vr6CaXdLrF8M3wFR4dUUhSf5UC4QCLaOMVP92lyh0OdtF_m_9Dt7lz-Wniod9zDrHeDsz_by570K3jL1VuDKTl_U1cJ0mzz_zDHGfOUf7VU1kVIs1WnM9SGvnm8YZURLTtMLMWx8-doGUE56Af_VfKjGDYW361OOIj9GmkyCFtaoCmTMIr5kgyeUSnB-IEhDlzujVrV6O9Mt7N4DagR6RGhT3g1viYLS4kO5YindU6dm3GIof1Q",
   "results" : [...]
   "status" : "OK"
}

如需查看下一组结果,您可以提交新查询,并将 next_page_token 的结果传递给 pagetoken 参数。例如:

https://maps.googleapis.com/maps/api/place/nearbysearch/json?pagetoken=CpQCAgEAAFxg8o-eU7_uKn7Yqjana-HQIx1hr5BrT4zBaEko29ANsXtp9mrqN0yrKWhf-y2PUpHRLQb1GT-mtxNcXou8TwkXhi1Jbk-ReY7oulyuvKSQrw1lgJElggGlo0d6indiH1U-tDwquw4tU_UXoQ_sj8OBo8XBUuWjuuFShqmLMP-0W59Vr6CaXdLrF8M3wFR4dUUhSf5UC4QCLaOMVP92lyh0OdtF_m_9Dt7lz-Wniod9zDrHeDsz_by570K3jL1VuDKTl_U1cJ0mzz_zDHGfOUf7VU1kVIs1WnM9SGvnm8YZURLTtMLMWx8-doGUE56Af_VfKjGDYW361OOIj9GmkyCFtaoCmTMIr5kgyeUSnB-IEhDlzujVrV6O9Mt7N4DagR6RGhT3g1viYLS4kO5YindU6dm3GIof1Q&key=YOUR_API_KEY