2014-12-24 94 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

回答

相关问题