简体   繁体   English

Google Places API - 下载用户评论和星级评分

[英]Google Places API - downloading user reviews and star ratings

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. TL;DR - 我需要帮助使用 Google Places API 下载多家商店的星级评分和用户评论,但我太笨了,无法弄清楚我应该做什么。 Please help!请帮忙!

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.只是为了给你一些信息,我在一家拥有三大品牌的公司工作,在全国拥有超过 500 家商店。 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.我们有多个列表,我们的高级利益相关者希望了解我们的客户对我们品牌的评价,特别是以星级和用户评论的形式查看哪些是表现最好的商店(哪些不是表现最好的) .

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.谷歌似乎没有这个功能。

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.根据 Google 社区的说法,我需要使用 Google My Business API(请参阅线程1 )但是 Google 支持告诉我,我想要做的事情需要 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因此,在前往那里之后,我发现这使得这是我获得所需的最可能的方式Google Places 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? Darnit,当然有一种方法可以让我发出 API 请求来获得我想要的东西,不是吗?

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.我将自己置于你们聪明人的怜悯之下(我有基本的知识,我是一个边做边学的人),所以你们的帮助将不胜感激。

Using Places API web service you can get up to 5 reviews when you execute a place detail request.使用 Places API Web 服务,您在执行地点详细信息请求时最多可以获得 5 条评论。 Rating is also available in the response.评分也可在响应中获得。

Please have a look at the documentation:请查看文档:

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

Currently, there is no way to get more than 5 reviews in Places API.目前,在 Places API 中无法获得超过 5 条评论。 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:您可以在公共问题跟踪器中看到一个功能请求,但是,看起来 Google 没有为此任务设置高优先级:

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

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:如果您是 Google 我的商家中该地点的所有者,您可以使用 Google 我的商家 API 检索您的地点的所有评论列表:

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

Hope it helps!希望能帮助到你!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM