How to list Google Calendar Events without User Authentication

前端 未结 2 575
暗喜
暗喜 2020-12-06 08:08

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 publi

相关标签:
2条回答
  • 2020-12-06 09:01

    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}

    0 讨论(0)
  • 2020-12-06 09:06

    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

    0 讨论(0)
提交回复
热议问题