PApostol / TFLMonitor

Scraping and plotting TFL status updates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TFL Monitor

Monitors the status of all TFL underground and overground lines for a given time period and logging interval. Plots and updates figure according to specified interval.

Developed and tested on Ubuntu 20.04. Works with:

Requirements:

Instructions for deployment

  • Clone the repo https://github.com/PApostol/TFLmonitor.git.

  • Usage: python monitor.py [-h] [-d DAYS] [-i INTERVAL] [-p PLOT]

    Defaults: DAYS=1, INTERVAL=1, PLOT=None

    Examples:

    python monitor.py -d 7 -i 0.5 -p day - run for 7 days, acquire data every 0.5 hour, plot results by day

    python monitor.py -d 1 -i 2 -p line - run for 1 day, acquire data every 2 hours, plot results by line

About

Scraping and plotting TFL status updates


Languages

Language:Python 100.0%