velistat - Velib' station status report
velistat [-f file] [-s] [-d nnn] [-n nnn] station
Report on the stations nearest a given station, optionally reporting bike availability.
Takes the station number (e.g. 2007, 4004, ...) as an argument, and the following optional command line switches.
Find all stations within 450m of station 1001
% velistat -d 450 1001 station 1001 (0m) 41 QUAI DE L'HORLOGE - 75001 PARIS %%%%_________xxx station 1101 (180m) 2 PLACE DE L'ECOLE - 75001 PARIS %%%%_______________________ station 6014 (275m) 7 RUE DU PONT DE LODI - 75006 PARIS %%%_______ station 1011 (350m) 46 RUE DE L'ARBRE SEC - 75001 PARIS %___________________ station 1010 (405m) 10 RUE DU PONT NEUF - 75001 PARIS %_______________________x station 1009 (445m) 14 RUE DU PONT NEUF - 75001 PARIS %%_______________x
Legend: % is a bicycle (mnemonic: looks like a bike), _ is a free slot, and x represents a broken bicycle or slot.
Use a cached map file instead of downloading a map.
Find all stations within nnn metres of given station.
Find the nnn closest stations (if -d and -n are not given, defaults to 1).
-d
-n
Download the status of each station (available bikes, available slots).
WWW::Velib
Copyright (C) 2007 David Landgren. All rights reserved.
This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WWW::Velib, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Velib
CPAN shell
perl -MCPAN -e shell install WWW::Velib
For more information on module installation, please visit the detailed CPAN module installation guide.