Skip to content

Instantly share code, notes, and snippets.

View davidgillen's full-sized avatar

David Gillen davidgillen

  • Nexus451
  • Dublin, Ireland
View GitHub Profile

Keybase proof

I hereby claim:

  • I am davidgillen on github.
  • I am davidgillen (https://keybase.io/davidgillen) on keybase.
  • I have a public key whose fingerprint is 2C85 0FCF E66A 78DA D325 D60C A096 B2C4 2171 E3B5

To claim this, I am signing this object:

@davidgillen
davidgillen / busTimes.py
Created October 15, 2014 10:01
Query dublin bus to get the times for a specific bus number at a certain stop. e.g. python busTimes.php 4 327
import argparse
import urllib2
import datetime
from bs4 import BeautifulSoup
# Get our arguments
parser = argparse.ArgumentParser()
parser.add_argument("busNumber")
parser.add_argument("stopNumber")
args = parser.parse_args()