This code has ceased to work since the API went down.
- Download
JSON Helper
- Checkout the luas
API
to set theluasStop
variable to the station code
Variables | Instruction |
---|---|
set luasStop to "SAN" |
Find the code from the API to set the stop |
set stopName to "Sandyford" |
Add the name that you want to call the stop |
To run the script you can cd into the directoy and run using
./luas home
or
./luas work
If you want to run it from anywhere you can move the executable to a location on your path. For example ⬇
mkdir .local/bin
- Move
luas
file into the above folder - Modify your bash profile and add the line :
export PATH=~/.local/bin:$PATH