Skip to content
This repository has been archived by the owner on Mar 25, 2019. It is now read-only.

kurtraschke/WMATA-SmarTrip-Scraper

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 9 commits ahead, 5 commits behind justgrimes:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
viz
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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!

About

WMATA SmarTrip Usage Scraper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.1%
  • Python 4.9%