Skip to content

Instantly share code, notes, and snippets.

@eastein
Created November 25, 2014 16:57
Show Gist options
  • Save eastein/6356e636ba1bf90ee61c to your computer and use it in GitHub Desktop.
Save eastein/6356e636ba1bf90ee61c to your computer and use it in GitHub Desktop.
metraapi test
(default)eastein@bowmore ~/git/metraapi/metraapi :) $ python metra.py UP-N RAVENSWOOD OTC
Train 336 DPT RAVENSWOOD 2014-11-25 11:16:00 (sched 2014-11-25 11:10:00). ARV 2014-11-25 11:44:00 (sched 2014-11-25 11:38:00). GPS:ON, ONTIME:n. ENROUTE:y.
Train 338 DPT RAVENSWOOD 2014-11-25 13:10:00 (sched 2014-11-25 13:10:00). ARV 2014-11-25 13:38:00 (sched 2014-11-25 13:38:00). GPS:ON, ONTIME:y. ENROUTE:n.
Train 340 DPT RAVENSWOOD 2014-11-25 14:10:00 (sched 2014-11-25 14:10:00). ARV None (sched 2014-11-25 14:38:00). GPS:OFF, ONTIME:y. ENROUTE:n.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment