0
votes

As the title suggests.How can I GET events from PUBLIC Google calendar WITHOUT using OAuth, just with API Key ?

Below is not working.

https://www.googleapis.com/calendar/v3/calendars/{calendarid}/events?key={API Key}

Thank you in advance

1
can you share the code your doing the request with?programmerwiz32
I entered the above in a browser. Obviously substituting the braces for appropriate values. Thankskvothe__

1 Answers

0
votes

In order to get this to work, you need to set the following 3 settings:

  1. Make your calendar public
  2. Set your API key app-restrictions within the Google API Console to allow your application and/or website domain to make requests.
  3. Make sure your API key has access to the calendar API, this setting can be found on the same page.