0
0
Fork 0
This repository has been archived on 2024-05-09. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
outlook-slack-calendar-refresh/README.md
2018-05-09 16:33:37 -05:00

991 B

Why?

I don't know. I was looking to play around with Selenium and so I made up a contrived example of something I wanted to accomplish. I would like to look at my work's outlook calendar without having to sync the calendar on my phone or install any work related software. Using slack I can login to our secure environment and still see my attachments without having the unnecessary bloat of other software.

This is probably horribly inefficient and could be solved in a number of other ways (API Keys & Hooks, etc.) but, again, this was a contrived POC type example.

Requirements

This uses the Selenium Python library and Chrome's Chromedriver to achieve these results.

Example Usage

OUTLOOK_EMAIL="your.email@domain.com" USER_ID="MYLOGINID" USER_PASS="MYPASSWORD" SLACK_PRIVATE_MESSAGE_URL="https://XXX.slack.com/messages/YYY" SLACK_LOGIN_URL="https://XXX.slack.com/" python calendar_refresh.py