Comments (6)
This library itself comes from Google, so it might be worth jumping onto the Google community forums to clarify what the correct answer is, and then we can update this package if required
from laravel-google-my-business.
Thanks for replying and Will do, I will reply back here with what I find the answer to be. My fork with that update is now allowing us to pull the insights, so I will try to gather clarification from them.
from laravel-google-my-business.
Ok, sounds a plan - I'll leave this issue open for now
from laravel-google-my-business.
@scottmkroberts how did you get on? :)
from laravel-google-my-business.
Hi sorry for the late reply, We did get a response back from google I will include it here;
As per the method accounts.locations:reportInsights the request should be:
POST https://mybusiness.googleapis.com/v4/{name=accounts/*}/locations:reportInsights
While the naming might seem contrary they are one in the same. When you run the method accounts.list the field name for your account is in the format of accounts/{accountId}. Both ways are correct, the only difference is how the content is described.
When in doubt we recommend referencing the REST resource for any request including the URI, query parameters, and the request body.
but it still was not clear enough, as we will have to do what we are doing. I need to dive into it deeper I am hoping to have a bit more time in December to do that then I should have a clear idea and response.
Again apologies for the delay.
from laravel-google-my-business.
No problem, thanks for the update - will be great to learn more once you've figured it out :)
from laravel-google-my-business.
Related Issues (14)
- How tu use it ?
- totalSize showing as null for loctions. HOT 1
- GMB API Access HOT 1
- Laravel 8 HOT 1
- Weird class not found issue HOT 3
- Method updateReply HOT 1
- upgrade to the new v1 endpoints -- Enhancement HOT 2
- I can't install the package HOT 2
- Error during install
- How does this differ from Socialite? HOT 1
- Working on L6? HOT 2
- after oauth HOT 1
- Call to undefined method PulkitJalan\Google\Facades\Google::createAuthUrl() HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-google-my-business.