Google Calendar API Released

The API for Google Calendar has been released, and after a quick initial skimming of the document, I think a CFC could be built to interact with the system. I’m going to start work on a simple reader for now to allow for something like this:

<cfset gCal = createObject("component", "GoogleCalendar").init("your private url goes here")> <!--- get entries returns all. Now says only after now ---> <cfset entries = getCal.getEntries(now())> <cfloop query="entries"> etc </cfloop>

Once reading is done then I’ll start work on writing as well. This could be an excellent way to integrate a web site with Google calendar. Imagine allowing folks to request meetings by simply adding a form to your site.

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Comments