0

我在Google Places API中遇到數據丟失問題!如下例所示,Google地圖搜索結果中顯示了Google地圖的其他信息,例如手機號碼,備用手機號碼和傳真號碼,但不會通過Google Places API顯示!Google Places API中的數據丟失問題

按照這個鏈接,你可以看到添加的備用電話號碼, 手機:

www.google.com/maps/place?cid=4256683212236351718 & Q =哈姆扎+ kamaleddine +家庭& HL = EN & VED = 0CBQQ-gswAA & SA = X & EI = cO4wT4arE8Wp8QOZqITuDA

但是用谷歌商家API(使用下面的HTTP請求),我檢索以下JSON對象:

在地方搜索請求: https://maps.googleapis.com/maps/api/place/search/json?location=33.8113420,35.619370&radius=500&name=hamza&sensor=false&key=AIzaSyBmT2NaNDJqSmZceuXD-pUrtDyHsC8kcz4

的地方詳情請求: https://maps.googleapis.com/maps/api/place/details/json?reference=CnRvAAAAbkRqsybX6Gvpr-nqkIYi1QJKegY900fj6dSPzPUST9RJBX_YZ9wlY3_sY27J1u31Et42bQVYgkTzR9FNW9PwhdfXOcWBE7J8AWFGNAX0CRK-WVh0bsReKMcNjKUHQ7nTvgrq9PUKJrQdJWNHSyQgHxIQe_tRjNX5NPBcbdN03NjgPBoUOGcFXglRkNVmm73z8WpFOErLT1s&sensor=false&key=AIzaSyBmT2NaNDJqSmZceuXD-pUrtDyHsC8kcz4

地方詳情響應(JSON):

{ 
    "html_attributions" : [], 
    "result" : { 
     "address_components" : [ 
     { 
      "long_name" : "Aley", 
      "short_name" : "Aley", 
      "types" : [ "locality", "political" ] 
     }, 
     { 
      "long_name" : "LB", 
      "short_name" : "LB", 
      "types" : [ "country", "political" ] 
     }, 
     { 
      "long_name" : "1000", 
      "short_name" : "1000", 
      "types" : [ "postal_code" ] 
     } 
     ], 
     "formatted_address" : "Ain Al Jdide Road, طريق عين الجديدة, Aley, Lebanon", 
     "formatted_phone_number" : "70 975 590", 
     "geometry" : { 
     "location" : { 
      "lat" : 33.8113420, 
      "lng" : 35.619370 
     } 
     }, 
     "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png", 
     "id" : "a1063b63d187a576cf420e459aca9141e46bb8b6", 
     "international_phone_number" : "+961 70 975 590", 
     "name" : "Hamza Kamaleddine - Home", 
     "reference" : "...", 
     "types" : [ "establishment" ], 
     "url" : "http://maps.google.com/maps/place?cid=4256683212236351718", 
     "vicinity" : "Ain Al Jdide Road, طريق عين الجديدة, Aley", 
     "website" : "http://lb.linkedin.com/in/hkamaleddine" 
    }, 
    "status" : "OK" 

} 

正如你可以看到,手機號碼,備用和傳真數字不見了!

請問如何解決這個問題?

非常感謝!

回答