Skip to content

Simple command line program to retrieve information on the next trips between two user-specified BART stations.

Notifications You must be signed in to change notification settings

adesautels-steer/next-bart-trains

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Next BART Trains

This program prompts the user to enter origin and destination BART station codes, and returns schedule and fare details from the BART Legacy API for the next three possible trips between the selected stations.

Setup and Usage

  1. Create and activate a virtual environment (optional, but recommended)
    1. python -m venv venv
    2. . venv/Scripts/activate
  2. Install required packages python -m pip install -r requirements.txt
  3. Export BART API key environment variable with export BART_API_KEY=[YOUR_API_KEY]
  4. Run with python next_bart_trains.py

Notes

BART station codes are available here.

Contact

Please contact Andrew Desautels with any questions.

About

Simple command line program to retrieve information on the next trips between two user-specified BART stations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages