gpt4 book ai didi

google-maps - 从 google map api 获取评论

转载 作者:行者123 更新时间:2023-12-02 03:00:42 30 4
gpt4 key购买 nike

最佳答案

执行此操作的最新方法:

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

回应:

{
"html_attributions": [],
"result": {
...
"rating": 4.6,
"reviews": [
{
"author_name": "John Smith",
"author_url": "https://www.google.com/maps/contrib/106615704148318066456/reviews",
"language": "en",
"profile_photo_url": "https://lh4.googleusercontent.com/-2t1b0vo3t-Y/AAAAAAAAAAI/AAAAAAAAAHA/0TUB0z30s-U/s150-c0x00000000-cc-rp-mo/photo.jpg",
"rating": 5,
"relative_time_description": "in the last week",
"text": "Great time! 5 stars!",
"time": 1508340655
}
]
}
}

评论仅限于最新 5 条。

关于google-maps - 从 google map api 获取评论,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16415827/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com