Using this documentation accounts.locations.reviews.get I am trying to read the specific review in JAVA 18
, The problem is that I do not find the Maven Dependency for this Old API that is not deprecated yet.
Before I used to do
MyBusiness.Accounts.Locations.Reviews.Get myReview= mybusiness.accounts().locations().reviews().get(reviewName);
Review response=myReview.execute();
Now even I am not able to initialise the API!
I tried to add to pom.xml:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-mybusiness</artifactId>
<version>v4-rev20211101-1.32.1</version>
but it does not accept and there is an error:
Missing artifact com.google.apis:google-api-services-mybusiness:jar:v4-rev20211101-1.32.1
What I can do?
I found another way to get the review setting up a request to the Google My Business API using the OkHttp client, but still I am interested to know what is the Maven dependency. Here is what I did: