Skip to content
mebibou edited this page Jun 20, 2013 · 1 revision

Getting the list of next departure times for a train station:

TransilienAPI api = new TransilienAPI();
Passages passages = api.nextTrain(87393009L);

Getting the list of next departure times for a train station to another

TransilienAPI api = new TransilienAPI();
Passages passages = api.nextTrain(87393009L, 87758847L);

The list of UIC codes can be found at http://test.data-sncf.com/

Clone this wiki locally