[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Valdis . Kletnieks
Subject: Re: [Nmh-workers] Google Calendar Command-line.
Date: Tue, 21 Apr 2015 19:27:21 -0400

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:


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='address@hidden' 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: pgprhlX3DwTE_.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]