【发布时间】:2014-12-24 11:46:35
【问题描述】:
现在我正在处理一个需要使用 Google Places API 的项目,而我在使用 Google Places API 方面太新手了。我想问的场景是,如何使用 place_id 获取地点的详细信息?
我已经搜索了所有地方,但大多数地方都说您必须在请求参数中使用引用属性。那么,我可以解决这个问题吗?
我从 Google 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.
【问题讨论】:
-
到目前为止你尝试过什么?你得到了哪些出乎你意料的结果?从这里开始:developers.google.com/places/documentation/details
标签: google-places-api google-places