Grab report Data from Google Analytics and save as variable

Hey there,

I have a Website with Google Analytics integrated, so have access to Visitor reports.
Is there a way to grab this Reports via Keyboard Maestro? As far as I know its possible with the Google Analytics API, but I just don´t know where to start and how to grab all the data from there...
Maybe with a curl command and get the data back as json, but how do I have to start in Keyboard Maestro?

Hey Pierre,

You know your way around the shell and curl?

You can use an Execute a Shell Script action.

I haven't tried it myself, but it looks like curl can do the job:

-Chris

thanks for your reply! I checked this tutorial before, but it seems its a bit outdated, seems Google uses another authentication now (OAuth2) - But I don´t know how to start with that... - Can anybody help?