I will tell you straight away that I am not very experienced with php, so I kinda need help on this one since the manuals of Google are confusing to me.
What exactly do I need to create a PHP file that can just communicate server-to-server with GA getting the RT data ? I want to create a PHP-API that I can call from elsewhere, but I'm having trouble with setting up the core communication with GA.
What I have done so far: I've followed these instructions to get the library cloning the git. (Instructions I used: https://developers.google.com/api-client-library/php/auth/service-accounts) (Git I cloned: https://github.com/google/google-api-php-client)
What should I do next ? Any Advices or examples from where I could copy and adjust it ? I am sorry for asking such a newbie question.