Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Own-account API: only locations the signed-in Google user manages. Google gates access: the project must be approved for the Business Profile APIs first.
- This file uses the v4 API for locations and reviews. Finding the account id is done by a different Google service (the Account Management API, mybusinessaccountmanagement.googleapis.com/v1/accounts) that this catalog does not cover; the id is also in the Business Profile manager URL.
- Lists page with pageToken/nextPageToken.
- Replies are public: they appear under the review on Google.
Endpoints
List an account’s locations
- The v4 locations list is documented with a narrow field set; v4 field reads may be limited compared with Google’s newer Business Information API.