Skip to content

A Python wrapper on the CTA Train Tracker, written specifically to update IDEO's interactive LED L Map.

Notifications You must be signed in to change notification settings

ideo/cta-train-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CTA Train Tracker API

A python wrapper built for our interactive LED L Map!

Usage

To query for all CTA train locations data and print it to the screen, run:

python -m get_train_locations

To simply the results to just the latitude and longitude of each train and to write the output to a JSON file, run:

python -m get_train_locations --simplify --json

I used Poetry to develop this, so I run poetry run python ... for each of these commands.

Development

About

A Python wrapper on the CTA Train Tracker, written specifically to update IDEO's interactive LED L Map.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages