Android 应用程序 - 使用 Google 从特定位置获取兴趣点 API Android

Android Application - Getting points of interest from a certain location using Google Places API for Android

我正在编写一个 Android 应用程序,我正在尝试使用 Google Places API for [=22] 获取并显示来自某个城市的旅游景点列表=](即中央公园、时代广场……)。但是我一直在检查这里的文档:https://developers.google.com/places/android-api/signup 并且我没有发现 Android.

的任何类似内容

另一方面,用于 Web 服务的 Google API:https://developers.google.com/places/web-service/intro 确实具有我正在寻找的功能,但 Google 严格禁止使用API 在 Android 应用程序中。

我想知道是否可以在 Android 应用程序中使用此 Web 服务 API,以及对于我想要实现的此类功能还有哪些其他替代方案。

试试这个 google 地方 API url。您将获得 interest/Attraction/Tourists 个地点的积分(例如:)纽约市。您必须使用 CITY NAME 和关键字 Point Of Interest

https://maps.googleapis.com/maps/api/place/textsearch/json?query=new+york+city+point+of+interest&language=en&key=API_KEY

这些结果包含某个地方的所有详细信息,例如分类(博物馆、地标……)、图片、关于它的两三行摘要和评级。