【问题标题】:Getting details of added place from Google Places API从 Google Places API 获取添加地点的详细信息
【发布时间】: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.

【问题讨论】:

标签: google-places-api google-places


【解决方案1】:

有人为 Places API 构建了一个完整的库,用于在 java 或 android 中进行开发。请看这个链接:https://github.com/windy1/google-places-api-java

【讨论】:

    猜你喜欢
    • 2012-12-23
    • 2016-03-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-12-30
    • 2012-03-20
    • 2020-09-06
    相关资源
    最近更新 更多