0

我想爲我的商家獲取Google地點ID,以便爲我的客戶創建一個鏈接以留下評論。Google Maps API - 無法找到我的商家的Google地點ID

當我將我的商家名稱和地址輸入到地點id查找程序中時,它不會返回任何結果。 https://developers.google.com/places/place-id

'google my business'房源已於5天或6天前被驗證。

我已經搜索了這個論壇,但我沒有編碼,我是企業主,我沒有嘗試過任何解決方案。

我在谷歌地圖業務: https://www.google.co.uk/maps/place/Lift+PT/@51.5172825,-0.0812451,15z/data=!4m5!3m4!1s0x0:0x825f785e3a8e3819!8m2!3d51.5172825!4d-0.0812451

謝謝你,你是他能夠給我任何幫助。

回答

0

https://maps.googleapis.com/maps/api/place/textsearch/json?query=Lift%20PT%20London&key=YOUR_KEY

/* Edited for length */ 
    "results" : [ 
     { 
     "formatted_address" : "Andaz Hotel Health Club, 40 Liverpool Street, London EC2M 7QN, United Kingdom", 
     "formatted_phone_number" : "07763 713331", 
     "name" : "Lift PT", 
----> "place_id" : "ChIJZ6YsibIcdkgRGTiOOl54X4I", 
     "types" : [ "health", "point_of_interest", "establishment" ], 
     "url" : "https://maps.google.com/?cid=9394359693822801945", 
     "user_ratings_total" : 1, 
     "vicinity" : "Andaz Hotel Health Club, 40 Liverpool Street, London", 
     "website" : "https://liftpt.co.uk/" 
     }, 
相關問題