Google calendar v3
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
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
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
1 Posted by Ryan Griffith on Jan 16, 2015 @ 06:36 PM
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 andAPI_KEY
is the API key you generated.Please let me know if you have any questions.
Thanks!
Ryan Griffith closed this discussion on Feb 16, 2015 @ 08:50 PM.