google calendar API

william humphrey shoreagent at gmail.com
Tue Jun 5 11:12:04 EDT 2007


Hi

Has anyone been accessing google calendar, inserting events, using
runrev from macos?

I'd like to copy someone's code for doing this.

Thanks,

Bill

_____

Thanks a lot, Mark! Using curl does the trick. However, I would
appreciate if this worked without an external shell command.

BTW, I have Rev 2.8.0 studio and the docs lack a hint to the missing
HTTPS implementation as far as I can see. If anyone knows
an easy way to do this with sockets (and maybe openSSL?), please let me know.

Now, here is the working code (Win XP) to add an event to your GoogleCalendar:
(You'll need

    * A form, a button, 3 fields named "Output", "HEADER", "newentry"
in Revolution.
    * Install curl, http://curl.haxx.se/download.html try the "7.16.0
WIN32" version, if necessary edit curlPATH.
    * Paste an XML-formatted event into field "newevent" according to
the format specified at:
http://code.google.com/apis/gdata/elements.html . Try this Exampel
first: http://code.google.com/apis/calendar/gdata.html#add_event
    * Take a look at the Google Calendar API at:
http://code.google.com/apis/calendar/overview.html
    * You also need a Google Calendar account and change the email and
PSWD accordingly



More information about the use-livecode mailing list