Skip to content

miniscruff/bart-vs-car

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bart Vs Car

Compare the efficiency of riding BART versus driving a car.

How to run

  1. Run a local server using python: python3 -m http.server

How to fetch data

  1. Configure environment:
    1. Can create .env file or export env vars
    2. BART_API_KEY from BART API
    3. GRAPH_HOPPER_API_KEY from Graph Hopper
  2. Create virtual env: python -m venv venv
  3. Activate virtual env: source venv/bin/activate ( on linux )
  4. Install packages: pip install -r requirements.txt
  5. Run fetch, and wait: python fetch.py

About

Compare the cost of taking BART versus driving and parking a car.

Resources

Stars

Watchers

Forks