Google Calendar action.

We can use the link from add a new event to Google Calendar parameters

 https://www.google.com/calendar/render? action=TEMPLATE& text=EventName& dates=20131206T050000Z/20131208T060000Z &location=EventLocation& sprop=name:Name& sprop=website:EventWebite& details=EventDetail& sf=true& output=xml 

But I can not find documentation about these parameters.

Does anyone know where this is?

+34
document google-calendar documentation calendar
Mar 31 '14 at 9:22
source share
4 answers

Explanation of the available options:

 anchor address: http://www.google.com/calendar/event? This is the base of the address before the parameters below. action: action=TEMPLATE A default required parameter. src: Example: src=default%40gmail.com Format: src=text This is not covered by Google help but is an optional parameter in order to add an event to a shared calendar rather than a user default. text: Example: text=Garden%20Waste%20Collection Format: text=text This is a required parameter giving the event title. dates: Example: dates=20090621T063000Z/20090621T080000Z (ie an event on 21 June 2009 from 7.30am to 9.0am British Summer Time (=GMT+1)). Format: dates=YYYYMMDDToHHMMSSZ/YYYYMMDDToHHMMSSZ This required parameter gives the start and end dates and times (in Greenwich Mean Time) for the event. location: Example: location=Home Format: location=text The obvious location field. trp: Example: trp=false Format: trp=true/false Show event as busy (true) or available (false) sprop: Example: sprop=http%3A%2F%2Fwww.me.org Example: sprop=name:Home%20Page Format: sprop=website and/or sprop=name:website_name add: Example: add=default%40gmail.com Format: add=guest email addresses 

http://useroffline.blogspot.com/2009/06/making-google-calendar-link.html

+40
May 6 '14 at 12:39
source share

The link from snoopy_15's answer points to the old Google URL , which is currently being redirected to the page of the new Google support page . This new page does not explain how to create the kind of link asked in this question.

However, thanks to the wonders of the Internet Archive: Wayback Machine , old pages are still archived and accessible !

The latest available version is from March 2012 , and it includes a form with simple JavaScript code that still works! Of course, this is not official documentation (and I'm still looking for it), and it's not even documentation (this is an interactive form with a script), but it is closest to me.

+12
Apr 28 '16 at 13:21
source share

These are the options that I use when creating these links. There are other options, but I do not find them useful, and they are optional. The details on how dates work are particularly annoying and have never been sufficiently documented by Google.

  • action = TEMPLATE (required)
  • text (name encoded in the url)
  • dates (ISO date format, startdate / enddate - must have both start and end times, or it will not work. The start and end dates can be the same if necessary).
    • to use user time zone: 20161208T160000 / 20161208T180000
    • use global time, convert to UTC, then use 20131208T160000Z / 20131208T180000Z
    • all-day events, you can use 20161208/20161209 - note that the old Google documentation is wrong. You should use the following date as the end date of the one-day event during the day or +1 day before you want the end date to be.
  • details (description / detailed description of the URL)
  • location (url-encoded location of the event - make sure the google map address is easy to read)
+4
Nov 07 '16 at 21:34
source share

You have one more option for specifying guests

 Add: Example: add=default%40gmail.com Format: add=guest email addresses 

Demo

https://productforums.google.com/forum/#!topic/calendar/Ovj6BNTQNL0

+3
Jun 24 '16 at 20:35
source share



All Articles