Tìm kiếm văn bản (phiên bản cũ) trả về thông tin về một nhóm địa điểm dựa trên một chuỗi, chẳng hạn như "pizza ở New York" hoặc "cửa hàng giày gần Ottawa" hoặc "123 Main Street". Dịch vụ này sẽ phản hồi bằng một danh sách các địa điểm phù hợp với chuỗi văn bản và mọi thông tin thiên vị về vị trí đã được đặt.
Tìm kiếm văn bản (Phiên bản cũ) không dành cho các cụm từ tìm kiếm mơ hồ, bao gồm cả những cụm từ sau:
| Loại truy vấn | Ví dụ: |
|---|---|
| Có quá nhiều khái niệm hoặc ràng buộc, chẳng hạn như tên của nhiều địa điểm, đường hoặc thành phố trong một cụm từ tìm kiếm | "Market Street San Francisco San Jose Airport" |
| Các phần tử địa chỉ bưu chính không được thể hiện trên Google Maps |
"C/O John Smith 123 Main Street" "P.O. Box 13 San Francisco" |
| Tên của doanh nghiệp, chuỗi cửa hàng hoặc danh mục kết hợp với những vị trí mà các thực thể này không có mặt | "Tesco gần Dallas, Texas" |
| Truy vấn mơ hồ có nhiều cách diễn giải | "Trả lại bộ sạc" |
| Tên cũ không còn được sử dụng nữa | "Middlesex, Vương quốc Anh" |
| Phần tử hoặc ý định không gian địa lý | "Có bao nhiêu chiếc thuyền ở Cảng Ventura?" |
| Tên không chính thức hoặc tên tuỳ chỉnh |
"The Jenga" "The Helter Skelter" |
| Vĩ độ và kinh độ | "37.422131,-122.084801" |
Phản hồi tìm kiếm sẽ bao gồm danh sách các địa điểm. Bạn có thể gửi yêu cầu Chi tiết về địa điểm để biết thêm thông tin về bất kỳ địa điểm nào trong phản hồi.
Yêu cầu Tìm kiếm văn bản (Cũ)
Yêu cầu Tìm kiếm văn bản (cũ) là một URL loại HTTP có dạng như sau:
https://maps.googleapis.com/maps/api/place/textsearch/output?parameters
trong đó output có thể là một trong hai giá trị sau:
json(nên dùng) cho biết đầu ra ở dạng Ký hiệu đối tượng JavaScript (JSON)xmlcho biết đầu ra dưới dạng XML
Bạn phải có một số tham số nhất định để bắt đầu yêu cầu tìm kiếm. Theo tiêu chuẩn trong URL, tất cả các tham số đều được phân tách bằng ký tự dấu và (&).
Thông số bắt buộc
-
truy vấn
Chuỗi văn bản cần tìm kiếm, ví dụ: "nhà hàng" hoặc "123 Main Street". Đây phải là tên địa điểm, địa chỉ hoặc danh mục của các cơ sở. Mọi loại dữ liệu đầu vào khác đều có thể gây ra lỗi và không đảm bảo trả về kết quả hợp lệ. Dịch vụ Google Places sẽ trả về các kết quả trùng khớp tiềm năng dựa trên chuỗi này và sắp xếp các kết quả theo mức độ liên quan mà người dùng cảm nhận được.
-
bán kính
Xác định khoảng cách (tính bằng mét) để trả về kết quả về địa điểm. Bạn có thể điều chỉnh kết quả theo một vòng tròn cụ thể bằng cách truyền tham số
locationvàradius. Khi đó, dịch vụ Places sẽ được hướng dẫn ưu tiên hiển thị kết quả trong vòng tròn đó; kết quả bên ngoài khu vực đã xác định vẫn có thể xuất hiện.Bán kính sẽ tự động được giới hạn ở giá trị tối đa tuỳ thuộc vào loại tìm kiếm và các thông số khác.
- Tự động hoàn thành: 50.000 mét
-
Nearby Search:
- có
keywordhoặcname: 50.000 mét -
không có
keywordhoặcname-
Tối đa 50.000 mét, được điều chỉnh linh hoạt dựa trên mật độ khu vực, không phụ thuộc vào tham số
rankby. -
Khi sử dụng
rankby=distance, tham số bán kính sẽ không được chấp nhận và sẽ dẫn đếnINVALID_REQUEST.
-
Tối đa 50.000 mét, được điều chỉnh linh hoạt dựa trên mật độ khu vực, không phụ thuộc vào tham số
- có
- Tự động hoàn thành cụm từ tìm kiếm: 50.000 mét
- Tìm kiếm văn bản: 50.000 mét
Thông số tùy chọn
-
language
Ngôn ngữ mà bạn muốn nhận kết quả.
- Xem danh sách các ngôn ngữ được hỗ trợ. Google thường xuyên cập nhật các ngôn ngữ được hỗ trợ, vì vậy, danh sách này có thể chưa đầy đủ.
-
Nếu bạn không cung cấp
language, API sẽ cố gắng sử dụng ngôn ngữ ưu tiên như được chỉ định trong tiêu đềAccept-Language. - API này cố gắng cung cấp một địa chỉ đường phố mà cả người dùng và người dân địa phương đều có thể đọc được. Để đạt được mục tiêu đó, phương thức này sẽ trả về địa chỉ đường phố bằng ngôn ngữ địa phương, được chuyển tự sang một kịch bản mà người dùng có thể đọc được (nếu cần), tuân theo ngôn ngữ ưu tiên. Tất cả các địa chỉ khác đều được trả về bằng ngôn ngữ ưu tiên. Tất cả các thành phần địa chỉ đều được trả về bằng cùng một ngôn ngữ, được chọn từ thành phần đầu tiên.
- Nếu không có tên bằng ngôn ngữ ưu tiên, API sẽ sử dụng kết quả trùng khớp gần nhất.
- Ngôn ngữ ưu tiên có ảnh hưởng nhỏ đến tập hợp kết quả mà API chọn trả về và thứ tự trả về. Trình mã hoá địa lý diễn giải các từ viết tắt theo nhiều cách tuỳ thuộc vào ngôn ngữ, chẳng hạn như từ viết tắt cho các loại đường phố hoặc từ đồng nghĩa có thể hợp lệ trong một ngôn ngữ nhưng không hợp lệ trong ngôn ngữ khác. Ví dụ: utca và tér là từ đồng nghĩa với đường phố trong tiếng Hungary.
-
vị trí
Điểm xung quanh để truy xuất thông tin về địa điểm. Bạn phải chỉ định giá trị này là
latitude,longitude.Tham sốlocationcó thể bị ghi đè nếuquerychứa một vị trí rõ ràng, chẳng hạn nhưMarket in Barcelona. Việc sử dụng dấu ngoặc kép xung quanh truy vấn cũng có thể ảnh hưởng đến trọng số được gán cholocationvàradius. -
maxprice
Chỉ hiển thị kết quả là những địa điểm trong phạm vi đã chỉ định. Các giá trị hợp lệ nằm trong khoảng từ 0 (rẻ nhất) đến 4 (đắt nhất). Số tiền chính xác được biểu thị bằng một giá trị cụ thể sẽ thay đổi theo từng khu vực.
-
minprice
Chỉ hiển thị kết quả là những địa điểm trong phạm vi đã chỉ định. Các giá trị hợp lệ nằm trong khoảng từ 0 (rẻ nhất) đến 4 (đắt nhất). Số tiền chính xác được biểu thị bằng một giá trị cụ thể sẽ thay đổi theo từng khu vực.
-
opennow
Chỉ trả về những địa điểm đang mở cửa kinh doanh tại thời điểm gửi truy vấn. Những địa điểm không chỉ định giờ mở cửa trong cơ sở dữ liệu Google Places sẽ không được trả về nếu bạn thêm tham số này vào truy vấn.
-
pagetoken
Trả về tối đa 20 kết quả của một lượt tìm kiếm đã chạy trước đó. Việc đặt tham số
pagetokensẽ thực hiện một tìm kiếm với các tham số tương tự đã dùng trước đó – tất cả các tham số khác ngoài pagetoken sẽ bị bỏ qua. -
khu vực
Mã vùng, được chỉ định là giá trị gồm 2 ký tự ccTLD ("miền cấp cao nhất"). Hầu hết mã ccTLD đều giống với mã ISO 3166-1, ngoại trừ một số trường hợp đáng chú ý. Ví dụ: ccTLD của Vương quốc Anh là "uk" (.co.uk) trong khi mã ISO 3166-1 của quốc gia này là "gb" (về mặt kỹ thuật là cho thực thể "Vương quốc Anh và Bắc Ireland").
-
loại
Hạn chế kết quả chỉ hiển thị những địa điểm phù hợp với loại được chỉ định. Bạn chỉ có thể chỉ định một loại. Nếu bạn cung cấp nhiều loại, tất cả các loại sau mục đầu tiên sẽ bị bỏ qua.
-
type=hospital|pharmacy|doctortrở thànhtype=hospital type=hospital,pharmacy,doctorsẽ bị bỏ qua hoàn toàn
Xem danh sách các loại được hỗ trợ.
Lưu ý: Việc thêm cảkeywordvàtypecó cùng giá trị (keyword=cafe&type=cafehoặckeyword=parking&type=parking) có thể tạo raZERO_RESULTS. -
Ví dụ về tính năng Tìm kiếm văn bản (Phiên bản cũ)
Lưu ý: Trong những ví dụ này, bạn cần thay thế key bằng khoá API của riêng mình để yêu cầu hoạt động trong ứng dụng của bạn.
Ví dụ cơ bản
Ví dụ sau đây cho thấy một lượt tìm kiếm nhà hàng ở gần Sydney.
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
Ví dụ về địa chỉ không đầy đủ
Ví dụ sau đây cho thấy một cụm từ tìm kiếm cho một địa chỉ không đầy đủ, trong trường hợp này là một địa chỉ đường phố không có thành phố, tiểu bang hoặc quốc gia.
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>
Ví dụ về thiên kiến về vị trí
Ví dụ sau đây cho thấy một cụm từ tìm kiếm cho cùng một địa chỉ không đầy đủ trong ví dụ trước, đồng thời bao gồm các tham số location và radius để điều chỉnh kết quả theo một khu vực mà người dùng quan tâm.
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>
Câu trả lời của tính năng Tìm kiếm văn bản (phiên bản cũ)
Các phản hồi tìm kiếm được trả về ở định dạng do cờ output chỉ ra trong đường dẫn của yêu cầu URL.
Ví dụ sau đây minh hoạ một phản hồi của Tìm kiếm văn bản (cũ).
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><a href="https://maps.google.com/maps/contrib/112033760018394328606">Dohyun Kim</a></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><a href="https://maps.google.com/maps/contrib/113719639442868633401">Ashley Hughes</a></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><a href="https://maps.google.com/maps/contrib/104244205094808346734">A Google User</a></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><a href="https://maps.google.com/maps/contrib/115283784392961129380">kate Kwak</a></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 & 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><a href="https://maps.google.com/maps/contrib/104492734984758109746">Mode Kitchen &amp; Bar</a></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><a href="https://maps.google.com/maps/contrib/106160289014902493250">Long Chim Sydney</a></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><a href="https://maps.google.com/maps/contrib/117499940191355312122">Kreeson Naraidoo</a></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><a href="https://maps.google.com/maps/contrib/106047480665428753229">A Google User</a></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><a href="https://maps.google.com/maps/contrib/105059859896721262581">Angela Tong</a></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><a href="https://maps.google.com/maps/contrib/110444118100375330898">A Google User</a></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><a href="https://maps.google.com/maps/contrib/111354624612472023397">Qing-Ling Tran</a></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><a href="https://maps.google.com/maps/contrib/112797482079521405927">The Malaya</a></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 & 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><a href="https://maps.google.com/maps/contrib/103398240624630529212">Md. Kurban Ali</a></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><a href="https://maps.google.com/maps/contrib/116762976445257331541">A Google User</a></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><a href="https://maps.google.com/maps/contrib/115568244243208638832">The Restaurant Pendolino</a></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><a href="https://maps.google.com/maps/contrib/108000506056576855925">Mercado</a></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><a href="https://maps.google.com/maps/contrib/105392127649390940296">A Google User</a></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><a href="https://maps.google.com/maps/contrib/106155344778912457393">IS L</a></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><a href="https://maps.google.com/maps/contrib/112111459665476218482">A Google User</a></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><a href="https://maps.google.com/maps/contrib/110393729963013157229">Nikhil Kuchroo</a></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
| Trường | Bắt buộc | Loại | Mô tả |
|---|---|---|---|
|
bắt buộc | Array<string> |
Có thể chứa một bộ thông tin ghi nhận quyền tác giả về trang thông tin này mà người dùng phải nhìn thấy (một số trang thông tin có thể không có thông tin ghi nhận quyền tác giả). |
|
bắt buộc | Array<Place> |
Chứa một mảng các địa điểm.
Yêu cầu Tìm kiếm địa điểm trả về một tập hợp con của các trường do yêu cầu Place Details trả về. Nếu trường bạn muốn không được trả về bằng tính năng Tìm kiếm địa điểm, bạn có thể sử dụng tính năng Tìm kiếm địa điểm để nhận
place_id, sau đó sử dụng Mã địa điểm đó để đưa ra yêu cầu Chi tiết về địa điểm.
Hãy xem phần Địa điểm để biết thêm thông tin. |
|
bắt buộc | PlacesSearchStatus |
Chứa trạng thái của yêu cầu và có thể chứa thông tin gỡ lỗi để giúp bạn theo dõi lý do khiến yêu cầu không thành công. Hãy xem PlacesSearchStatus để biết thêm thông tin. |
|
tùy chọn | chuỗi |
Khi dịch vụ trả về một mã trạng thái khác với |
|
tùy chọn | Array<string> |
Khi dịch vụ trả về thông tin bổ sung về quy cách yêu cầu, có thể có thêm trường |
|
tùy chọn | chuỗi |
Chứa một mã thông báo có thể dùng để trả về tối đa 20 kết quả bổ sung. next_page_token sẽ không được trả về nếu không có kết quả bổ sung nào để hiển thị. Số lượng kết quả tối đa có thể trả về là 60. Có một khoảng trễ ngắn giữa thời điểm next_page_token được phát hành và thời điểm mã này trở nên hợp lệ. |
PlacesSearchStatus
Mã trạng thái do dịch vụ trả về.
OKcho biết yêu cầu API đã thành công.-
ZERO_RESULTScho biết quá trình tìm kiếm đã thành công nhưng không trả về kết quả nào. Điều này có thể xảy ra nếu cụm từ tìm kiếm được truyền mộtlatlngở một vị trí từ xa. -
INVALID_REQUESTcho biết yêu cầu API không đúng định dạng, thường là do thiếu tham số truy vấn bắt buộc (locationhoặcradius). -
OVER_QUERY_LIMITcho biết bất kỳ thông tin nào sau đây:- Bạn đã vượt quá giới hạn QPS.
- Bạn chưa bật tính năng thanh toán cho tài khoản của mình.
- Bạn đã vượt quá hạn mức sử dụng tự đặt hoặc hạn mức tín dụng 200 USD hằng tháng.
- Phương thức thanh toán bạn cung cấp không còn hợp lệ (ví dụ: thẻ tín dụng đã hết hạn).
-
REQUEST_DENIEDcho biết yêu cầu của bạn đã bị từ chối, thường là do:- Yêu cầu thiếu khoá API.
- Tham số
keykhông hợp lệ.
UNKNOWN_ERRORcho biết đã xảy ra lỗi không xác định.
Địa điểm
Thuộc tính mô tả một địa điểm. Không phải loại địa điểm nào cũng có sẵn tất cả các thuộc tính.
| Trường | Bắt buộc | Loại | Mô tả |
|---|---|---|---|
|
tùy chọn |
Array<AddressComponent>
|
Một mảng chứa các thành phần riêng biệt áp dụng cho địa chỉ này.
Hãy xem |
|
tùy chọn | chuỗi |
Thông tin về địa chỉ của địa điểm trong định dạng vi mô adr. |
|
tùy chọn | chuỗi |
Cho biết trạng thái hoạt động của địa điểm, nếu đó là một doanh nghiệp.
Nếu không có dữ liệu,
The allowed values include:
OPERATIONAL,
CLOSED_TEMPORARILY, and CLOSED_PERMANENTLY
|
|
tùy chọn | boolean |
Chỉ định xem doanh nghiệp có hỗ trợ dịch vụ lấy hàng tại lề đường hay không. |
|
tùy chọn | PlaceOpeningHours |
Chứa giờ hoạt động trong 7 ngày tới (kể cả hôm nay). Khoảng thời gian này bắt đầu từ nửa đêm vào ngày yêu cầu và kết thúc lúc 23:59 sáu ngày sau đó. Trường này bao gồm trường con Hãy xem PlaceOpeningHours để biết thêm thông tin. |
|
tùy chọn | boolean |
Cho biết liệu doanh nghiệp có hỗ trợ dịch vụ giao hàng hay không. |
|
tùy chọn | boolean |
Cho biết liệu doanh nghiệp có hỗ trợ lựa chọn chỗ ngồi trong nhà hay ngoài trời hay không. |
|
tùy chọn | PlaceEditorialSummary |
Chứa thông tin tóm tắt về địa điểm. Bản tóm tắt bao gồm thông tin tổng quan bằng văn bản và mã ngôn ngữ cho những thông tin này (nếu có). Bạn phải trình bày văn bản tóm tắt nguyên trạng và không được sửa đổi hoặc thay đổi. Hãy xem PlaceEditorialSummary để biết thêm thông tin. |
|
tùy chọn | chuỗi |
Một chuỗi ký tự chứa địa chỉ mà con người có thể đọc được của địa điểm này. Địa chỉ này thường tương đương với địa chỉ bưu điện. Xin lưu ý rằng một số quốc gia (chẳng hạn như Vương quốc Anh) không cho phép phân phối địa chỉ bưu chính thực do các quy định hạn chế về việc cấp phép. Địa chỉ được định dạng bao gồm một hoặc nhiều thành phần địa chỉ. Ví dụ: địa chỉ "111 8th Avenue, New York, NY" bao gồm các thành phần sau: "111" (số nhà), "8th Avenue" (tuyến đường), "New York" (thành phố) và "NY" (tiểu bang của Hoa Kỳ). Không phân tích cú pháp địa chỉ được định dạng theo phương thức lập trình. Thay vào đó, bạn nên sử dụng các thành phần địa chỉ riêng lẻ mà phản hồi API bao gồm ngoài trường địa chỉ được định dạng. |
|
tùy chọn | chuỗi |
Chứa số điện thoại của địa điểm ở định dạng địa phương. |
|
tùy chọn | Geometry |
Chứa vị trí và khung hiển thị cho vị trí. Vui lòng xem |
|
tùy chọn | chuỗi |
Chứa URL của một biểu tượng được đề xuất mà người dùng có thể nhìn thấy khi biểu thị kết quả này trên bản đồ. |
|
tùy chọn | chuỗi |
Chứa mã màu HEX mặc định cho danh mục của địa điểm. |
|
tùy chọn | chuỗi |
Chứa URL của một biểu tượng được đề xuất, trừ đuôi loại tệp |
|
tùy chọn | chuỗi |
Chứa số điện thoại của địa điểm ở định dạng quốc tế.
Định dạng quốc tế bao gồm mã quốc gia và có dấu cộng (+) ở phía trước. Ví dụ: international_phone_number cho văn phòng của Google tại Sydney, Úc là |
|
tùy chọn | chuỗi |
Chứa tên mà con người có thể đọc được cho kết quả được trả về. Đối với kết quả |
|
tùy chọn | PlaceOpeningHours |
Chứa giờ hoạt động thông thường. Hãy xem PlaceOpeningHours để biết thêm thông tin. |
|
tùy chọn | boolean |
Sử dụng |
|
tùy chọn | Array<PlacePhoto> |
Một mảng gồm các đối tượng ảnh, mỗi đối tượng chứa một thông tin tham chiếu đến một hình ảnh. Một yêu cầu có thể trả về tối đa 10 bức ảnh. Bạn có thể tìm thêm thông tin về ảnh địa điểm và cách sử dụng hình ảnh trong ứng dụng của mình trong tài liệu Place Photos. Hãy xem PlacePhoto để biết thêm thông tin. |
|
tùy chọn | chuỗi |
Giá trị nhận dạng dạng văn bản xác định một địa điểm duy nhất. Để truy xuất thông tin về địa điểm, hãy truyền giá trị nhận dạng này vào trường |
|
tùy chọn | PlusCode |
Một thông tin tham chiếu được mã hoá về vị trí, bắt nguồn từ toạ độ vĩ độ và kinh độ, đại diện cho một khu vực: 1/8000 độ theo 1/8000 độ (khoảng 14 m x 14 m tại đường xích đạo) hoặc nhỏ hơn. Bạn có thể dùng mã cộng để thay thế địa chỉ đường phố ở những nơi không có địa chỉ đường phố (nơi các toà nhà không được đánh số hoặc đường phố không được đặt tên). Xem Open Location Code và plus code. Vui lòng xem |
|
tùy chọn | số |
Mức giá của địa điểm, trên thang điểm từ 0 đến 4. Số tiền chính xác được biểu thị bằng một giá trị cụ thể sẽ khác nhau tuỳ theo khu vực. Các mức giá được diễn giải như sau:
|
|
tùy chọn | số |
Chứa điểm xếp hạng của địa điểm, từ 1.0 đến 5.0, dựa trên bài đánh giá tổng hợp của người dùng. |
|
tùy chọn | chuỗi | |
|
tùy chọn | boolean |
Chỉ định xem địa điểm có hỗ trợ đặt chỗ hay không. |
|
tùy chọn | Array<PlaceReview> |
Một mảng JSON gồm tối đa 5 bài đánh giá. Theo mặc định, các bài đánh giá được sắp xếp theo mức độ liên quan. Sử dụng tham số yêu cầu
Google đề xuất cho người dùng biết liệu kết quả có được sắp xếp theo Hãy xem PlaceReview để biết thêm thông tin. |
|
tùy chọn | chuỗi | |
|
tùy chọn | Array<PlaceOpeningHours> |
Chứa một mảng các mục cho 7 ngày tiếp theo, bao gồm thông tin về giờ hoạt động phụ của một doanh nghiệp. Giờ hoạt động phụ khác với giờ hoạt động chính của doanh nghiệp. Ví dụ: một nhà hàng có thể chỉ định giờ lái xe qua hoặc giờ giao hàng là giờ phụ. Trường này điền vào trường phụ Hãy xem PlaceOpeningHours để biết thêm thông tin. |
|
tùy chọn | boolean |
Cho biết địa điểm có phục vụ bia hay không. |
|
tùy chọn | boolean |
Cho biết địa điểm có phục vụ bữa sáng hay không. |
|
tùy chọn | boolean |
Cho biết địa điểm có phục vụ bữa sáng muộn hay không. |
|
tùy chọn | boolean |
Cho biết địa điểm có phục vụ bữa tối hay không. |
|
tùy chọn | boolean |
Cho biết địa điểm có phục vụ bữa trưa hay không. |
|
tùy chọn | boolean |
Cho biết địa điểm có phục vụ đồ ăn chay hay không. |
|
tùy chọn | boolean |
Cho biết địa điểm có phục vụ rượu vang hay không. |
|
tùy chọn | boolean |
Chỉ định xem doanh nghiệp có hỗ trợ dịch vụ mang đi hay không. |
|
tùy chọn | Array<string> |
Chứa một mảng các loại tính năng mô tả kết quả đã cho. Hãy xem danh sách các loại được hỗ trợ. |
|
tùy chọn | chuỗi |
Chứa URL của trang chính thức của Google cho địa điểm này. Đây sẽ là trang thuộc sở hữu của Google, chứa thông tin tốt nhất hiện có về địa điểm đó. Các ứng dụng phải liên kết đến hoặc nhúng trang này trên mọi màn hình hiển thị kết quả chi tiết về địa điểm cho người dùng. |
|
tùy chọn | số |
Tổng số bài đánh giá (kèm theo hoặc không kèm theo nội dung) cho địa điểm này. |
|
tùy chọn | số |
Chứa số phút mà múi giờ hiện tại của địa điểm này nhanh hơn hoặc chậm hơn so với giờ UTC. Ví dụ: đối với những nơi ở Sydney, Úc trong giờ mùa hè, giá trị này sẽ là 660 (+11 giờ so với giờ UTC) và đối với những nơi ở California ngoài giờ mùa hè, giá trị này sẽ là -480 (-8 giờ so với giờ UTC). |
|
tùy chọn | chuỗi |
Chỉ dành cho kết quả về cơ sở lưu trú (
Đối với tất cả các kết quả khác, trường Nội dung này được dùng để đọc nguyên trạng. Đừng phân tích cú pháp địa chỉ được định dạng theo cách lập trình. |
|
tùy chọn | chuỗi |
Trang web chính thức của địa điểm này, chẳng hạn như trang chủ của doanh nghiệp. |
|
tùy chọn | boolean |
Cho biết địa điểm có lối vào dành cho xe lăn hay không. |
PlaceEditorialSummary
Chứa thông tin tóm tắt về địa điểm. Bản tóm tắt bao gồm thông tin tổng quan bằng văn bản và cả mã ngôn ngữ cho những thông tin này (nếu có). Bạn phải trình bày văn bản tóm tắt nguyên trạng và không được sửa đổi hoặc thay đổi.
| Trường | Bắt buộc | Loại | Mô tả |
|---|---|---|---|
|
tùy chọn | chuỗi |
Ngôn ngữ của các trường trước đó. Có thể không phải lúc nào cũng xuất hiện. |
|
tùy chọn | chuỗi |
Nội dung tóm tắt bằng văn bản có độ dài trung bình về địa điểm. |
PlaceOpeningHours
Một đối tượng mô tả giờ mở cửa của một địa điểm.
| Trường | Bắt buộc | Loại | Mô tả |
|---|---|---|---|
|
tùy chọn | boolean |
Giá trị boolean cho biết địa điểm có đang mở cửa tại thời điểm hiện tại hay không. |
|
tùy chọn | Array<PlaceOpeningHoursPeriod> |
Một mảng gồm các khoảng thời gian mở cửa trong 7 ngày, bắt đầu từ Chủ Nhật, theo thứ tự thời gian. Hãy xem PlaceOpeningHoursPeriod để biết thêm thông tin. |
|
tùy chọn | Array<PlaceSpecialDay> |
Một mảng có tối đa 7 mục tương ứng với 7 ngày tiếp theo. Hãy xem PlaceSpecialDay để biết thêm thông tin. |
|
tùy chọn | chuỗi |
Một chuỗi loại dùng để xác định loại giờ hoạt động phụ (ví dụ: |
|
tùy chọn | Array<string> |
Một mảng gồm các chuỗi mô tả bằng văn bản mà con người có thể đọc được về giờ hoạt động của địa điểm. |
PlaceOpeningHoursPeriod
| Trường | Bắt buộc | Loại | Mô tả |
|---|---|---|---|
|
bắt buộc | PlaceOpeningHoursPeriodDetail |
Chứa một cặp đối tượng ngày và giờ mô tả thời điểm địa điểm mở cửa. Hãy xem PlaceOpeningHoursPeriodDetail để biết thêm thông tin. |
|
tùy chọn | PlaceOpeningHoursPeriodDetail |
Có thể chứa một cặp đối tượng ngày và giờ mô tả thời điểm đóng cửa của địa điểm. Nếu một địa điểm luôn mở cửa, thì phần đóng cửa sẽ không có trong phản hồi. Khách hàng có thể dựa vào trạng thái luôn mở được biểu thị là một khoảng thời gian mở có chứa ngày với giá trị Hãy xem PlaceOpeningHoursPeriodDetail để biết thêm thông tin. |
PlaceSpecialDay
| Trường | Bắt buộc | Loại | Mô tả |
|---|---|---|---|
|
tùy chọn | chuỗi |
Ngày được biểu thị theo định dạng RFC3339 trong múi giờ địa phương của địa điểm, ví dụ: 2010-12-31. |
|
tùy chọn | boolean |
True nếu có giờ đặc biệt cho ngày này. Nếu là |
PlaceOpeningHoursPeriodDetail
| Trường | Bắt buộc | Loại | Mô tả |
|---|---|---|---|
|
bắt buộc | số |
Một số từ 0 đến 6, tương ứng với các ngày trong tuần, bắt đầu từ Chủ Nhật. Ví dụ: 2 có nghĩa là thứ Ba. |
|
bắt buộc | chuỗi |
Có thể chứa thời gian trong ngày ở định dạng hhmm 24 giờ. Giá trị nằm trong phạm vi 0000–2359. Thời gian sẽ được báo cáo theo múi giờ của địa điểm. |
|
tùy chọn | chuỗi |
Ngày được biểu thị theo định dạng RFC3339 trong múi giờ địa phương của địa điểm, ví dụ: 2010-12-31. |
|
tùy chọn | boolean |
True nếu một khoảng thời gian nhất định bị cắt ngắn do giới hạn 7 ngày, trong đó khoảng thời gian bắt đầu trước nửa đêm vào ngày có yêu cầu và/hoặc kết thúc vào hoặc sau nửa đêm vào ngày cuối cùng. Thuộc tính này cho biết khoảng thời gian mở hoặc đóng có thể kéo dài quá thời hạn 7 ngày này. |
PlacePhoto
Ảnh về một Địa điểm. Bạn có thể truy cập vào ảnh bằng API Place Photo bằng cách sử dụng một URL theo mẫu sau:
https://maps.googleapis.com/maps/api/place/photo?maxwidth=400&photo_reference=photo_reference&key=YOUR_API_KEY
Hãy xem phần Ảnh về địa điểm để biết thêm thông tin.
| Trường | Bắt buộc | Loại | Mô tả |
|---|---|---|---|
|
bắt buộc | số |
Chiều cao của bức ảnh. |
|
bắt buộc | Array<string> |
Thông tin ghi công HTML cho ảnh. |
|
bắt buộc | chuỗi |
Một chuỗi dùng để xác định ảnh khi bạn thực hiện yêu cầu Photo. |
|
bắt buộc | số |
Chiều rộng của ảnh. |
PlaceReview
Bài đánh giá về địa điểm do người dùng gửi.
| Trường | Bắt buộc | Loại | Mô tả |
|---|---|---|---|
|
bắt buộc | chuỗi |
Tên của người dùng đã gửi bài đánh giá. Các bài đánh giá ẩn danh được ghi nhận là của "Một người dùng Google". |
|
bắt buộc | số |
Điểm xếp hạng chung của người dùng cho địa điểm này. Đây là một số nguyên, trong khoảng từ 1 đến 5. |
|
bắt buộc | chuỗi |
Thời gian gửi bài đánh giá ở dạng văn bản, so với thời gian hiện tại. |
|
bắt buộc | số |
Thời gian gửi bài đánh giá, tính bằng số giây kể từ nửa đêm ngày 1 tháng 1 năm 1970 theo giờ UTC. |
|
tùy chọn | chuỗi |
URL đến hồ sơ Local Guides của người dùng trên Google Maps (nếu có). |
|
tùy chọn | chuỗi |
Mã ngôn ngữ IETF cho biết ngôn ngữ của bài đánh giá được trả về.Trường này chỉ chứa thẻ ngôn ngữ chính, chứ không chứa thẻ phụ cho biết quốc gia hoặc khu vực. Ví dụ: tất cả bài đánh giá bằng tiếng Anh đều được gắn thẻ là "en", chứ không phải "en-AU" hoặc "en-UK", v.v. Trường này sẽ trống nếu chỉ có điểm xếp hạng mà không có văn bản đánh giá. |
|
tùy chọn | chuỗi |
Mã ngôn ngữ IETF cho biết ngôn ngữ gốc của bài đánh giá. Nếu bài đánh giá đã được dịch, thì |
|
tùy chọn | chuỗi |
URL dẫn đến ảnh hồ sơ của người dùng (nếu có). |
|
tùy chọn | chuỗi |
Bài đánh giá của người dùng. Khi đánh giá một địa điểm bằng Google Places, bạn không bắt buộc phải viết bài đánh giá bằng văn bản. Do đó, trường này có thể trống. Xin lưu ý rằng trường này có thể chứa mã đánh dấu chế độ HTML cơ bản. Ví dụ: tham chiếu thực thể |
|
tùy chọn | boolean |
Giá trị boolean cho biết bài đánh giá có được dịch từ ngôn ngữ gốc mà bài đánh giá được viết hay không.Nếu bài đánh giá đã được dịch, tương ứng với giá trị true, thì Google khuyên bạn nên cho người dùng biết điều này. Ví dụ: bạn có thể thêm chuỗi "Do Google dịch" vào bài đánh giá. |
Truy cập vào các kết quả khác
Theo mặc định, mỗi phản hồi trả về tối đa 20 kết quả establishment cho mỗi cụm từ tìm kiếm; tuy nhiên, mỗi lượt tìm kiếm có thể trả về tối đa 60 kết quả, được chia thành 3 trang. Nếu kết quả tìm kiếm của bạn có nhiều hơn 20, thì phản hồi tìm kiếm sẽ có thêm một giá trị nữa là next_page_token. Truyền giá trị của next_page_token vào tham số pagetoken của một yêu cầu mới để xem nhóm kết quả tiếp theo.
- Nếu
next_page_tokenlà giá trị rỗng hoặc không được trả về, thì sẽ không có kết quả nào khác. - Thử lại yêu cầu bằng cùng một
next_page_tokensẽ trả về trang kết quả tiếp theo. - Việc đặt
pagetokensẽ khiến mọi thông số khác bị bỏ qua. - Bạn có thể yêu cầu một trang mới tối đa 2 lần sau cụm từ tìm kiếm ban đầu.
- Mỗi yêu cầu, kể cả yêu cầu sử dụng
next_page_token, đều được tính là một yêu cầu duy nhất theo hạn mức sử dụng của bạn và được tính phí riêng. - Có một độ trễ vài giây giữa thời điểm
next_page_tokenđược phát hành và thời điểmnext_page_tokentrở nên hợp lệ. Yêu cầu trang tiếp theo trước khi trang đó có sẵn sẽ trả về một phản hồiINVALID_REQUEST. Các yêu cầu cónext_page_tokenluôn bị tính phí.
Ví dụ: trong truy vấn bên dưới, chúng tôi tìm kiếm các nhà hàng gần Cảng Darling ở Sydney, Úc và xếp hạng kết quả theo khoảng cách. Bạn có thể thấy rằng phản hồi chứa một thuộc tính 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"
}Để xem nhóm kết quả tiếp theo, bạn có thể gửi một truy vấn mới, truyền kết quả của next_page_token đến tham số pagetoken. Ví dụ:
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