Giter VIP home page Giter VIP logo

Comments (6)

scottybo avatar scottybo commented on June 12, 2024

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.

scottmkroberts avatar scottmkroberts commented on June 12, 2024

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.

scottybo avatar scottybo commented on June 12, 2024

Ok, sounds a plan - I'll leave this issue open for now

from laravel-google-my-business.

scottybo avatar scottybo commented on June 12, 2024

@scottmkroberts how did you get on? :)

from laravel-google-my-business.

scottmkroberts avatar scottmkroberts commented on June 12, 2024

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.

scottybo avatar scottybo commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.