1.0.1 • Published 4 years ago

@xch/bart-parking-utilities v1.0.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
4 years ago

@xch/bart-parking-utilities

Build Status Greenkeeper badge

Utilities for buying bart parking permits.

So far it can help you buy Bart daily parking permits without visiting the website yourself.

Get started

# Install globally.
> npm install -g @xch/bart-parking-utilities
# Run the utilities.
> bart

This is an interactive CLI. It leads you through these steps:

  1. It will prompt you for username and password to login https://www.select-a-spot.com/bart/. If login is successful, the username and password are saved locally and encrypted with preferences so you won't enter it again the next time.
  2. Pick permit type. For now only "daily" is available.
  3. Pick a Bart station. Most recently picked stations will show up first.
  4. Pick a date for the permit.
  5. Pick a car from your list of registered vehicles.
  6. ---Warning--- You will be prompted the price of the permit and the payment method to be used for the purchase. Pressing "Y" will confirm the purchase and initiate the transaction.
  7. If the purchase was successful, you will be prompted to download the permit PDF file.