Google Places API-下载用户评论和星级 [英] Google Places API - downloading user reviews and star ratings

查看:66
本文介绍了Google Places API-下载用户评论和星级的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

TL; DR-我需要使用Google Places API来下载多家商店的星级评定和用户评论方面的帮助,而且我很愚蠢,无法弄清楚我应该做的事情.请帮忙!

TL;DR - I need help using Google Places API to download star ratings and user reviews of multiple stores and I am too dumb to figure out what I am suppose to be doing. Please help!

在我生命中,很难从尝试从多个位置下载用户评分和星级评论方面找到任何有用的信息或文档.为了给您提供一些信息,我在一家拥有三个主要品牌,在全国拥有500多家商店的公司工作.我们有多个列表,我们的高级利益相关者希望了解客户对我们品牌的评价,尤其是要以星级和用户评论的形式查看谁是表现最好的商店(谁不是表现最好的商店) .

For the life of me, this has been hard to find any sort of useful info or documentation in terms of trying to download user ratings and star reviews from multiple locations. Just to give you a bit of info, I work for a company that has three major brands with over 500 stores across the country. We have multiple listings and our senior stakeholders are wanting to get their hands on what our customers are saying about our brand and particularly see who are top performing stores are (and who are NOT are top performers) in the form of star ratings and user reviews.

现在,对于一个位置而言,获得这些见解非常容易,但是对于多个位置而言,却很容易做到.看来Google手上没有该功能.

Now to get those sorts of insights is pretty easy to do for one location, but for multiple? It seems Google doesn't have that feature on hand.

根据Google社区,我需要使用Google我的商家API(请参见线程

According to the Google Community, I would need to use Google My Business API (see thread 1) However Google Support told me that for what I am looking to do required Google Places API. So after heading over there, I found this which makes this the most possible way I can get what I need Google Places API

现在,我被困在有关加载库的部分.达尼特(Darnit),肯定有一种方法,我可以提出一个API请求以获取我想要的东西,不是吗?

Now I am stuck at the part about loading libraries. Darnit, surely there is a way I can just make an API request to get what I want, no?

我让自己受聪明的人的怜悯(我有基本的知识,而且我是一个从中学到东西的人),因此,您的帮助将受到深深的感谢.

I am throwing myself on the mercy of you smart people (I have the basic knowledge and I am a person who learns by doing) so your assistances will be deeply appreciated.

推荐答案

使用Places API Web服务,您在执行位置详细信息请求时最多可以获得5条评论.回复中也提供评分.

Using Places API web service you can get up to 5 reviews when you execute a place detail request. Rating is also available in the response.

请查看文档:

https://developers.google.com/places/web-service /details#PlaceDetailsResults

当前,在Places API中无法获得超过5条评论.您可以在公共问题跟踪器中看到功能请求,但是,看起来Google并未对此任务设置高优先级:

Currently, there is no way to get more than 5 reviews in Places API. You can see a feature request in the public issue tracker, however, it looks like Google didn't set a high priority on this task:

https://issuetracker.google.com/issues/35825957

如果您是"Google我的商家"中该地点的所有者,则可以使用Google我的商家API来检索该地点的所有评论的列表:

If you are the owner of the place in Google My Business, you can use Google My Business API to retrieve a list of all reviews for your place:

https://developers.google.com/my-business/content /review-data

希望有帮助!

这篇关于Google Places API-下载用户评论和星级的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆