Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.
/ metlink-status Public archive

Python 3 CLI tool for checking Metlink Wellington service updates

License

Notifications You must be signed in to change notification settings

finngreig/metlink-status

Repository files navigation

metlink-status

Python 3 CLI tool for checking Metlink Wellington service updates.

Example Output Screenshot

Installation

From PyPI:

pip install metlink-status

From source:

python setup.py install

Usage

usage: metlink-status-runner.py [-h] [-b BUS] [-t TRAIN] [-s STOP]

Prints Metlink service updates

optional arguments:
  -h, --help            show this help message and exit
  -b BUS, --bus BUS     Specifies a bus route
  -t TRAIN, --train TRAIN
                        Specifies a train line
  -s STOP, --stop STOP  Specifies a stop or station

Examples

  • To show all service updates:

    metlink-status
  • To show any service updates for the number 2 bus:

    metlink-status -b 2

    or

    metlink-status --bus 2
  • To show any service updates for the KPL (Kapiti) train line:

    metlink-status -t KPL

    or

    metlink-status --train KPL
  • To show service updates for all services and departures for stop 1234:

    metlink-status -s 1234

    or

    metlink-status --stop 1234
  • To show service updates and departures at stop 1234 for the number 2 bus:

    metlink-status -b 2 -s 1234

    or

    metlink-status --bus 2 --stop 1234
  • To show service updates and departures at WELL (Wellington Station) for the KPL (Kapiti) train line:

    metlink-status -t KPL -s WELL

    or

    metlink-status --train KPL --stop WELL

Releases

No releases published

Packages

No packages published

Languages