I want to create events in my own google Calendar through PHP API.
Note: I have a web application, I just want to send some events in to my own google calendar ( not any other user's just my own single calendar).
What I found so far is that using Service account is the right approach if you want to edit your own google calendar entries through API. But you need to give permissions to the service account for the calendar you wish to work on using google Calendar settings.
To give permission to service account, you just need to add the service account email ID (auto generated , when creating a service account) on the google calendar settings page , under "permissions" section.