Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.

itratp1

http://www.ratp.info/Pivi/piviweb.php?exec=piviweb&cmd=Itineraire&x_dep=&y_dep=&x_arr=&y_arr=&Profil=RATP_${l=FR}&etape=LEX&mode=TOUS_MODE&query=recherche&type_dep=${td=ARRET}&adp=${d}&type_arr=${ta=ARRET}&aar=${a}&Date[HeureSelectionne]=${h}&Date[MinuteSelectionne]=${m}&Date[TypeDateSelectionne]=${th}
NAME

ratpit1 - ratp itinerary step 1 

SYNOPSIS 

ratpit1 - allows to look for an itinerary on ratp.fr (Paris public transport) 

DESCRIPTION

This is an update of ratpit1. This one gives the possibility to chose both departure and the destination time.

"This is the first step of "ratpit". I want to make a simple command that will let you look for 
an itinerary on the ratp.fr site. ratp1 is simple but not as much as I would like. I will use positional parameters
in ratpit and will maybe use some abbreviations for the type of your search (RUE, ARRET, LIEU)."

SYNTAX

itratp1 -d [Départ/Departure] -a [Arrivé/Destination] -td [type de départ] -ta [type d'arrivée] -l [langue] -h [departure hour] -m [departure minute] -th [date of departure/arrival] 

Both "type de départ" et "type d'arrivé" can be either "RUE" (if you are giving) 
an adress), "ARRET" (if you are giving the name of a station) or "LIEU" (if you are giving
the name of a place). "ARRET" is the default value for both -td and -ta.

There is also an option for the language of your query, -l. Only Dutch, English, German and 
Spanish are available though (and French of course). -l can have the values "NL", "UK", "DE" and "ES", for 
Dutch, German, English and Spanish respectively. The default language is French. 

EXAMPLES

ratpit1 -d place d'italie -a chatelet -> will give the itinerary from the station place d'italie 
to the station chatelet. You can eventually modify your itinerary directly from
the site. For example if you are looking for that itinerary on a different date and hour.

ratpit1 -d gare de lyon -a arc de triomphe -ta LIEU -td LIEU -> Instead of taking both departure and destination
as stations, it will take them as places. This is useful when you don't know the nearest station or the fastest
way to get from one place to another. The same applies for "RUE".

ratpit1 -d gare de lyon -a arc de triomphe -ta LIEU -td LIEU -l ES -> you will have the previous results in Spanish. 

AUTHOR

Luis Gabriel Matallana Vallejo <luisgmatallana@gmail.com>
  

    
71 uses - Created 2010-06-02 08:34:06 - Last used 2011-01-28 22:03:35
Is this command broken? Tell Jon if you know how to fix it.
Do you find this command offensive? Let Jon know.