Permitter reserves permits at BART using Select-a-Spot. It requires an active account on Select-a-Spot.
Note: Ruby is required
# Download the repository.
git clone git://github.com/jeffkowalski/permitter.git
# Get the ruby gem dependencies.
cd permitter
bundle install
Create a file named credentials.yml
containing your login to Select-a-Spot. Because the contents are in clear-text, it is wise to change permissions on this file to be readable by user only (i.e. 0600 on Unix).
---
:username: 'foo.bar@example.com'
:password: 'secret'
Create a file named date.yml
with the first date to reserve. The permitter will automatically re-write this file with the advancing date of the next reservation. You may optionally specify date ranges to skip.
---
:current: 2018-04-03
:skips:
- :from: 2018-04-09
:to: 2018-04-13
- :from: 2018-05-03
:to: 2018-05-13
...
# For interactive usage,
ruby ./permitter.rb get --no-log
# Or, for use in scripts or cron jobs,
ruby ./permitter.rb get