Skip to main content

This is a CLI tool that helps you to get LUAS Irish Transport information

Project description

Overview

This is a CLI tool that helps you to get LUAS Irish Transport information. This tool is based on the Luas Forecasting API integrated with the Open Street Map API

luascli is licensed under the MIT license.

Basic information

This CLI uses the following format:

luas <line> command <argument> [parameters]

where

<line> : the luas line name: red|green

<argument> : commands can have arguments and/or optional parameters. The most comonn is the <stop> which means the abbreviated stop name. You can get it from stops command.

How to install

pip install luascli

How to use

luas <red|green> <command> <arguments>
luas --help

Commands

  • stops: list all stops for a particular line
  • status: show the operational status of the line
  • map: display the location of the luas stop on the map (default browser)

Examples:

# Show all red luas stops and their abbreviations (to be used with other commands)
luas red stops 

# Display the list of all green luas stops
luas green stops

# Show in your browser, the location of Citywest Luas Stop
luas red map cit

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

luascli-0.2.0.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

luascli-0.2.0-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page