0

Using Alpine I can connect to office365 via IMAP, and I can see that there is a Calendar/ folder in the IMAP collection. I can even kind of open them with Alpine, but it's super funky.

I can publish my office365 calendar, and download via ICS and import the meetings using khal or something, but that's kind of a gross process.

I'm looking for a tool that:

  • is command-line or curses based
  • can connect to my office365 calendar

I would prefer if I could get write-access to the calendar, but I'm OK if it's read only.

  • if this tool supported both google calendar and outlook365 (including TODO/tasks) I'd be willing to pay for it
  • At minimum it needs to support Linux, but cross-platform support would be a plus

Is there a tool like that out there yet?

8
  • What OS should it be for? What specific features do you need? Should it be free, or would you be willing to pay (how much)? Meanwhile: Also check Google for imap calendar software :) – Izzy May 18 '16 at 15:36
  • Added that info. Looks like Doug Hellman wrote something along these lines back in 2007. – Wayne Werner May 18 '16 at 16:10
  • Hm. If I'd better understand what you want to achieve... First thought is imapsync. This MakeUseOf article has a few interesting pointers as well (Ctrl-F "command-line"). – Izzy May 18 '16 at 16:42
  • I actually looked at that, but (at least currently) "Imapsync can't migrate Contacts and Calendars." Which... is exactly what I want :P – Wayne Werner May 18 '16 at 17:52
  • @WayneWerner as a command line tool it would be extremely useful to know what you wanted to do with calendars - e.g. View next 10 upcoming events, view events for a specific week, view today's events? – Steve Barnes May 19 '16 at 5:18
1

There are python bindings called o365, (unfortunately currently unmaintained), for interfacing to Office 365 that, with the examples given, would allow you, from the command line, to:

  • Read & Send mail
  • Access and Create events
  • Manage Contacts

There is also a python CLI for Google Calendar here, you do have to use Google Developers Console to enable it before use but instructions are provided, that currently will allow operations such as what is on today? calendar-cli or on any other specific date. Or with a little more work bindings such as Google Drive Access also allow creating events as well as viewing them.

Of course you can use the Microsoft "Graph" API the python SDK is "coming soon" &/or the Google Python API to roll your own.

Python and the bindings mentioned are:

  • Free, Gratis & Open Source
  • Cross Platform
  • Extensible
  • Can work interactively, from command line scripts or with GUI front ends.
1
  • I was trying vdirsyncer, which has similar requirements of enabling the app. I forked the o365 project, and may end out just rolling my own calendar app. – Wayne Werner May 20 '16 at 13:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.