nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Google Calendar Command-line.

2015-04-21 19:27:06
On Fri, 10 Apr 2015 09:16:01 +0100, Ralph Corderoy said:

Given folks here have to handle calendars, I thought
https://github.com/insanum/gcalcli#readme might be of interest,
though I haven't used it.  :-)

I just went through all the hoops to set this up, and it does indeed
work.  Here's the cheat sheet I followed:

http://theittutorial.blogspot.com/2015/01/how-to-integrate-google-calendar-in.html

Two caveats (stuff that's a moving target)

1) there's one place where it references 'apitools.discover' that needs
changing to 'googleapitools.discover'

2) Google moved the 'Registered Apps' tab. To quote the StackOverflow post that
clued me in: In latest interface of Google Cloud Console, there is no any
"Registered apps" menu under APIs and auth. You can do the same thing by
selecting "Credentials" under "APIs and auth". After selecting "Credentials",
click "CREATE NEW KEY" and choose the key you want to generate  (oh, it wants
an OAUTH2 key).

% gcalcli --calendar='valdis(_at_)vt(_dot_)edu' import invite-from-boss.ics

does in fact work after that (I did have to write a one-liner wrapper to
get it to work from exmh, as its mailcap support didn't quote correctly and
it wanted 'text/calendar; somecommand %s'  with no other parameters.)

Attachment: pgpT8YOTlJvXP.pgp
Description: PGP signature

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers
<Prev in Thread] Current Thread [Next in Thread>