[英]How to get place or placeid by latLng in android using google places api?
[英]How to get Review from placeId Google Place API
希望有人可以帮助我。
我正在尝试在Android上获取给定placeID的评论数。 Google Places API用于支持此调用,但似乎不再包含在该API中。 有人知道我怎么能得到这个价值吗?
注意:我有地方评分,我需要的是总评论数。
先感谢您。
您可以通过以下方式使用Google Place API获得特定地点的评分:
PlaceBufferResponse places = task.getResult();
Place myPlace = places.get(0);
Log.i(TAG, "Place found: " + myPlace.getName());
Log.i(TAG, "Place ratings found: " + myPlace.getRating());
了解有关Android版Google Places API的更多信息
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.