Android - Google Places API - No “reviews” Array

后端 未结 3 1870
没有蜡笔的小新
没有蜡笔的小新 2020-12-22 07:39

So I\'m running the following Google Places API call:

https://maps.googleapis.com/maps/api/place/search/json?location=34.0467359,-118.441764&rankby=distanc

3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-22 08:00

    You can get review array by place detail API

    https://maps.googleapis.com/maps/api/place/details/json?placeid={place_id}&key={api_key}

    where place id is results id field from your response,

    Ex. "id" : "03ed19ca32b20080897e31095e6eed2715cde819",

提交回复
热议问题