Cannot find the reviews api
See original GitHub issueHello,
I’m trying to display a list of reviews to the user, but i can’t seem to find the endpoint anywhere. I’m basically following this page:
https://developers.google.com/my-business/content/review-data
I have the following packages installed:
<PackageReference Include="Google.Apis.Auth" Version="1.57.0" />
<PackageReference Include="Google.Apis.MyBusinessAccountManagement.v1" Version="1.57.0.2637" />
<PackageReference Include="Google.Apis.MyBusinessBusinessInformation.v1" Version="1.57.0.2637" />
Is the reviews api available in the client library or not? and if yes, could someone point me in the right direction?
2 sidenotes:
1: I can’t seem to find batch requests anywhere? I was trying to use the locations batch request - and i’d like to use the batch reviews request in the future - but it seems that batch requests are not in the c# library at this time. Is that correct or am i missing something here?
2: With the request myBusinessBusinessInformationService.Accounts.Locations.List(account.Name)
you need to set the readMask
option. This is not really documented anywhere - and i only found it out because i stumbled upon https://github.com/googleapis/google-api-php-client/issues/2213 - perhaps improve the visibility of this requirement somewhere?
Issue Analytics
- State:
- Created a year ago
- Comments:13 (3 by maintainers)
Top GitHub Comments
Hi all, sorry for “hijacking” this closed thread, but we’re currently struggling with the review-endpoint as well (although we are working with the php-library, but that shouldn’t be the point).
We even can’t get the v4.9-API endpoint (accounts.locations.reviews) to work in Googles OAuthPlayground anymore (deprecated => error). And we can’t find any new endpoints regarding reviews in the new v1-APIs (several APIs for Google My Business now).
Before asking some Google support now, I stumbled upon this thread… @BrianGearty You got it somehow working around 19/05/2022? I guess, you used the old v4.9-endpoint and it was still working back then (sunset at 30/04/2022 + 30 days grace period)? Or do you still have a working way to get reviews from GMB-Locations? 😃
Thank you and have a nice day Marc
I’ve also heard back from the team internally. You can find the client library for My Business v4.9 here: https://developers.google.com/my-business/samples/previousVersions .
For some reason unknown to us on the client library side, they are not following the normal API publication channels so libraris are also not being generated in the normal way. I’ll try to find out if we can bring this API alongside with the rest, but for the time being, you can use the libraries in the link above.