Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mybusinessaccountmanagement get reviews method #817

Open
cwymore opened this issue Jun 8, 2022 · 0 comments
Open

mybusinessaccountmanagement get reviews method #817

cwymore opened this issue Jun 8, 2022 · 0 comments

Comments

@cwymore
Copy link

cwymore commented Jun 8, 2022

Summary
I can successfully authorize and fetch an account like this:

   gapi.client.mybusinessaccountmanagement.accounts
            .list({})
            .then((response: any) => {
              console.log('accounts -->', response.result.accounts);
            })
            .catch((error: any) => {
              console.log('📛-->', error);
            });

I'm looking for something similar to fetch batch reviews for all locations in an account. Is something like this supported?

      gapi.client.mybusinessaccountmanagement.accounts.locations.batchGetReviews
            .list({})
            .then((response: any) => {
              console.log('locations ???', response.result);
            })
            .catch((error: any) => {
              console.log('📛-->', error);
              return false;
            });

Browser(s)/Version(s)
Chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant