Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
db
lib
logs
sourcedata
.gitignore
INSTALL
LICENSE
README
__init__.py
config.cfg.sample
datatools.py
testing.py
whensmybus.py
whensmydlr.py
whensmytransport.py
whensmytube.py

README

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
Something went wrong with that request. Please try again.