On November 17, 2014 Google deprecated v1 and v2 of its Google Calendar API using the Zend Framework.
It seems the only way to list publicly shared events on a publicly shared Google Calendar is through the new Google Client Library API from GitHub using OAuth 2.0
This means visitors to a public website that used to display public events now have to authenticate and login.
Is that true? Is there no other way to continue to show public Google Calendar events?
What you need to do is use a Service account for this. You will then be able add the service accounts email address as a user to the calendar for your website. The Service account will then be able to access this calendar including the events
You can still retrieve all public data without Oauth2, you just need to register in a developer console and create an API key. Then you can do:
GET https://www.googleapis.com/calendar/v3/calendars/<CALENDAR_EMAIL>/events?key={YOUR_API_KEY}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With