![]() |
Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
NAME
itratp - Itinerary in ratp.fr, the public transports in Paris
SYNOPSIS
itratp [DAPARTURE - POINT A] ; [DESTINATION - POINT B] -a [POINT A TYPE] -b [POINT B TYPE] -l [LANGUAGE] -h [HOUR] -m [MINUTE] -ha [HOUR OF ARRIVAL]
EXAMPLES
itratp place d'italie ; champs elisees clemenceau -> tells you what is the shortest
way to get from one point to another. Both points will be taken as stations by
default.
itratp place d'italie ; champs elisees clemenceau -a l -> tells you what is the
shortest way to get from one point to another, specifying that point a is a place
itratp place d'italie ; champs elisees clemenceau -a l -b a -> tells you what is
the shortest way to get from one point to another, specifying that point a is
a place and point b is an address.
itratp place d'italie ; champs elisees clemenceau -a l -b a -h 14 -> the same as
above but specifying that you want to leave at 14h.
itratp place d'italie ; champs elisees clemenceau -a l -b a -h 14 -m 30 -ha ->
the same as above but instead of leaving at 14h you say you want to arrive
at 14:30.
itratp place d'italie ; champs elisees clemenceau -l NL -a l -b a -h 14 -m 30 -ha ->
the same as above but instead of leaving at 14h you say you want to arrive
at 14:30 and the language is Dutch!
DESCRIPTION
The itinerary tool at ratp.fr works like in any other public transport site.
It's useful when you want to know what is the shortest way from a place to another ;
when you want to know in how many time the next bus, metro, tramway is going
to leave from the station you are close to ; or even when you need to know
at what time you have to leave if you want to make it to a given place at a given
hour.
Remarks:
Pop-ups from ratp must be accepted.
The point of departure needs to be separated from the point of destination
by ";" with spaces before and after it.
Optional parameters:
-a and -b can be either "a" for adresse/address or "l" for lieu/place.
-h needs to be specified in 24h format.
-ha is a switch that lets you define that you want to arrive at the
hour you specified. You don't need to type anything after it. You just need
to type it.
-l can be either NL for Dutch, DE for German, ES for Spanish or EN for English.
Language codes have to be in capital letters.
NOTES
Thanks to Samuel Hoffstaetter for the command "if" and Allen Ormond for the command
"ifthen"
AUTHOR
Luis Gabriel Matallana Vallejo <luisgmatallana[at]gmail[dot]com>