I saw a post two days ago : google api calendar php
And it looks like the code I need. I am only an amateur php programmer. I had been using Zend Framework to connect my website to a Google calendar to make changes on the calendar from my site,but now deprecated as it used V2 of Google API.
So now I am trying to use the PHP client library and have gone to the Google Developer console and created what I think is an 'App' (service account) to use the php client library. In the code in the above post there is a line:
$client->setApplicationName("My app");
I am not sure what that refers to? I have a 'project name' when creating it in the console but I am really not sure if this is the 'App name'. Or worse maybe i am not creating an app at all and have made a mistake. I have all the other parameters like client ID, key file and service account.
P.S. I saw one post where you had to add client ID to the ../src/Google/config.php
file - is that needed as well?
thx
I found all the advice on setting up a service account and also the code for adding an event at daimto.com App name can just be the project name form your Google console too BTW.