Skip to content
A tool to publish SF Bay Area Spare The Air data as an ical
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
conf
sparetheair
.gitignore
README.md
requirements.txt
setup.py
stacal.ics

README.md

sparetheair

A tool to publish SF Bay Area Spare The Air data as an ical

It reads the RSS Feed: http://www.baaqmd.gov/Feeds/AlertRSS.aspx
...and puts it into an iCal file.

I run this daily, copy the iCal file onto a personal web server, and subscribe to it using OS X's and iOS's Calendar

Usage

  • Run bin/sparetheairto generate or add to ./stacal.ics
  • Run bin/run_unittests to run tests

Requirements

  • Tested using Python 2.7.6
  • External Modules:
    • requests
    • rfc3987
    • bs4
    • icalendar

TODO:

  • Factor out RSS URL and iCal file to external config file
You can’t perform that action at this time.