如何从Placeid Google Place API获得评论



希望有人可以帮助我。

我试图在Android上获得plactid的评论数量。Google Places API用于支持此通话,但似乎不再包含API。有人知道我怎么能获得这个价值吗?

注意:我的地点等级,我需要总的评论数量。

预先感谢您。

您可以使用 Google plote 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());

有关的更多信息,google for android

最新更新