A couple of things I wanted to do over at The Incomparable’s website involved knowing the status of a shared Google Calendar. For months I tried to build up the courage to figure out how to interact with the Google Calendar API and found I just couldn’t do it.1
So I fell back on my old-school Web ways, and decided to just scrape the HTML of Google’s calendar embed, parse it, and send the prettied-up results to a Slack group of my choice. (It won’t survive Google’s next redesign of its HTML calendar embed, but to be honest, it appears to have not been updated in years.)
In any event, if you’re interested in script that will stick the contents of a Google Calendar into a Slack channel, I posted it over at GitHub. No warranty implied.
A combination of python configuration issues and the requirement to set up a Google API project and validate it via Oauth drove me away, screaming. ↩