Skip to content

chrisapplegate-was/WhensMyBus

 
 

Repository files navigation

When's My Transport

When's My Transport is a suite of three bots that tell you what time London's buses, Tube and DLR are arriving at a stop near you. It currently runs as three bots:

@whensmybus  http://twitter.com/#!/whensmybus
@whensmytube http://twitter.com/#!/whensmytube
@whensmydlr  http://twitter.com/#!/whensmydlr

e.g.

    @whensmybus 135
...will check the Tweet for its geocoded tag and work out the next bus

    @whensmybus 135 from 53452
...will check the Tweet for the SMS code (usually printed on a sign at the stop) 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

This also works with Direct Messages so you can message privately.

More info about how to use the bot here:

http://whensmybus.tumblr.com/about/
http://whensmytube.tumblr.com/about/
http://whensmydlr.tumblr.com/about/

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 for installation instructions and details of dependencies

CREDITS & THANKS

- My thanks go to Adrian Short for inspiring me to write this http://adrianshort.co.uk/2011/09/08/open-data-for-everyday-life/
- And Chris Veness for his geographic co-ordinate translation scripts http://www.movable-type.co.uk/scripts/latlong-gridref.html

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published