WMATA SmarTrip Usage Scraper
Clone or download
Pull request Compare This branch is 9 commits ahead, 5 commits behind justgrimes:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/smartripscraper
viz
.gitignore
NOTES
README
TODO
plot.py
setup.py

README

WMATA SmarTrip Usage Python Screen Scraper

Written by Justin Grimes (@justgrimes) & Josh Tauberer (@joshdata)
	Josh did most of the heavy lifting; Justin owes him a drink of his choice & at a place of his choosing
Updates to support multiple purses, SQLite storage by Kurt Raschke (@kurtraschke)

Simple python script that scrapes a SmarTrip user's transit usage data from WMATA website (http://smartrip.wmata.com)
Script authenticates into WMATA website using mechanize library and then extracts data from HTML tables using BeautifulSoup library then writes to a SQLite database.

Enjoy!