Skip to content

Latest commit

 

History

History

poll_outage

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Poll MTA Escalator and Elevator Outages

Quick python script to poll the MTA escalator & elevator outage API described here

Raw XML can be viewed here

Script is currently running on AWS VM once every 12 hours and results are stored in a sqlite db. This work is incomplete but it's best to start collecting raw data as soon as possible. A true ETL script will be required to dedupe and structure the data.

To run script Activate python virtual env

pip install -r requirements.txt
python poll.py

Tested with Python 3.6.1