delijn
A command line tool for querying De Lijn
and
A module you can use in your own application(s) for querying De Lijn
The Command Line Tool
Installation
npm install -g delijn
Basic Usage
Getting Help
$ delijn Usage: delijn [options] Options: -h, --help output usage information -V, --version output the version number stations [query] search
Finding a station
$ delijn stations mortselDeurne MortselsesteenwegMortsel A. StockmansleiMortsel AbelenstraatMortsel BoechoutseleiMortsel DeurnestraatMortsel E. ThieffrylaanMortsel FloralaanMortsel GemeentepleinMortsel GevaertMortsel GrijpegempleinMortsel HaleblokMortsel Hof SavelkoulMortsel IJzerenwegleiMortsel KaphaanMortsel KerkstraatMortsel KuijpersMortsel MeidoornMortsel MolenleiMortsel NeerhoevelaanMortsel OsyleiMortsel RubensstraatMortsel Sint-AmedeuskliniekMortsel Sint-JozefkliniekMortsel StationMortsel Station Oude GodMortsel T. ReynlaanMortsel VredebaanMortsel Zaaldenrode
Finding the departures of a station
$ delijn departures "Mortsel Kuijpers"22:35 Bus 91 Berchem Station - Mortsel - Waarloos22:35 Tram 7 Sint-Pietersvliet - Mortsel22:36 Tram 7 Sint-Pietersvliet - Mortsel22:37 Tram 7 Mortsel - Sint-Pietersvliet22:37 Bus 92 Kontich Station - Mortsel - Berchem Station22:38 Bus 91 Berchem Station - Mortsel - Waarloos22:40 Bus 92 Kontich Station - Mortsel - Berchem Station22:44 Tram 15 Linkeroever - Boechout22:47 Tram 15 Boechout - Linkeroever22:49 Tram 15 Boechout - Linkeroever22:55 Tram 7 Sint-Pietersvliet - Mortsel22:56 Tram 7 Sint-Pietersvliet - Mortsel22:57 Tram 7 Mortsel - Sint-Pietersvliet
License
(The MIT License)
Copyright (c) by Sebastian Van Sande sebastian@vansande.org
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.