Skip to content

PHP CLI script that shows when the next London bus will come to your stop. Uses TFL.gov.uk API

License

Notifications You must be signed in to change notification settings

ktzar/London-Bus-coming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###Install

This needs a makefile to be installed properly

Create a symlink somewhere in your $PATH:

# ln -s /path/coming_bus.php /usr/bin/bus

and now you can

$ bus -b 136 -s 73346

using the stop and bus you want.

You can even store your favourite bus and stop in ~/.bus You have an example configuration file in _.bus

usage: bus [-s stop_number] [-b bus1[:bus2]]

~/.bus JSON format: {"buses":[123],"stop":12345}

About

PHP CLI script that shows when the next London bus will come to your stop. Uses TFL.gov.uk API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages