trip(1) General Commands Manual trip(1)

trip - Query Västtrafik to show how to get somewhere

trip
trip SOURCE_STOP DESTINATION_STOP
trip SOURCE_STOP DESTINATION_STOP depart|arrive TIME

This command queries the online API provided by Västtrafik to indicate how to reach a certain destination.
The easier way to use it is to write the names of the source and destination stops as parameters.
Alternatively, calling it without parameters will make it use an interactive mode, which can be used to show suggestions for the names, and insert a precise departure time.
A ghost symbol is used to indicate that the trip is partially cancelled.

trip brunnspar stigbergs
trip brunnsparken angered depart 15:41
trip brunnsparken angered arrive 15:41

stops(1)

https://codeberg.org/ltworf/vasttrafik-cli

Salvo "LtWorf" Tomaselli <tiposchi@tiscali.it>
January 26, 2024 Query Västtrafik to show how to get somewhere