Google calendar v3

shruti's Avatar

shruti

14 Jan, 2015 08:54 PM

HI-

We have been using google calendar and simplepie for some of our faculty events but I just found it google v3 makes it mandatory to use API keys and simplepie is not supporting it anymore. Do you have news on the issue or any way we can use google calendar feed to display or events using cascade server?

Thanks!
Shruti

  1. 1 Posted by Ryan Griffith on 16 Jan, 2015 06:36 PM

    Ryan Griffith's Avatar

    Hi Shruti,

    On Nov 17th 2014, Google shut down the V1 and V2 versions of their Calendar APIs. This means you can no longer easily obtain a feed for public calendars without knowing the calendar's ID and obtaining a developer key, as you indicated.

    In order to continue using Simple Pie, you should be able to simply obtain a key and the ID of your calendar and pass a different URL to Simple Pie. Note: the data differs, so you will most likely need to adjust your code accordingly.

    I find these directions on the Full Calendar jQuery plugin website helpful for obtaining an API key and the calendar's ID. Once you have this information, the new URL format would look like the following:

    https://www.googleapis.com/calendar/v3/calendars/CALENDAR_ID/events?key=API_KEY

    Where CALENDAR_ID is the unique ID of the calendar you wish to pull from and API_KEY is the API key you generated.

    Please let me know if you have any questions.

    Thanks!

  2. Ryan Griffith closed this discussion on 16 Feb, 2015 08:50 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac