2014-12-24 151 views
0

現在我正在開發一個需要使用Google Places API的項目,而我在使用Google Places API時也是新手。我想問的場景是,如何獲得使用place_id的地方的細節,我在地點添加的響應中得到了什麼?從Google Places API獲取新增地點的詳細信息

我已經搜遍了所有的地方,但大多數人說你必須在請求參數中使用引用屬性。那麼,我可以得到這個解決方案嗎?

我在谷歌Places API的文檔,這些行讀取這些信息: -

Place Add Responses 

Place add responses are returned in the format indicated by the output flag within the request's URL path. 

The API returns a status code, and if the request was successful the response includes the following properties for the new place: 

    place_id: A unique identifier for a place. To retrieve information about the place, pass this identifier in the placeId field of a Places API request. 
+0

你到目前爲止嘗試過什麼?你得到的結果是不是你所期望的?從這裏開始:https://developers.google.com/places/documentation/details – Scott

回答

相關問題