Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
db
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

#When's My Bus & When's My Tube

A suite of three Twitter bots that tell you what time London's buses, Tube and DLR are arriving at a stop or station near you. It currently runs as three bots:

Tweeting is easy:

@whensmybus 135

Will check the Tweet for its geotag and work out the next bus

@whensmybus 135 from Limehouse station

Will check the Tweet for the location and work out the next bus

@whensmytube District Line from Tower Hill

Will check the Tweet for the station name and work out the next Tube

@whensmytube DLR from Shadwell

Will check the Tweet for the station name and work out the next DLR

Thanks to some clever natural language processing, lots of variations on grammar and special directions are possible, including specifyin multiple buses and destinations, such as:

@whensmybus 135 15 D3 from Limehouse
@whensmybus 135 from Limehouse to Old Street
@whensmytube Central Line to Bank from Bethnal Green

This also works with Direct Messages so you can message privately, although Direct Messages do not support geotagging

More info from a user perspective about how to use the bot is available here:

#Source Code

Available from https://github.com/qwghlm/WhensMyBus

#Requirements

Requires: Python 2.6 or greater to run the bot. Python 2.7 required for unit testing. Not yet tested with Python 3

See INSTALL.md for installation instructions and details of dependencies

#Credits & Thanks

About

When's My Transport: A set of Twitter bots that tell Londoners when their next bus, Tube or DLR is arriving

Resources

License

Releases

No releases published

Packages

No packages published

Languages