This script checks for covid-19 vaccines near you.
- Install Python.
- Run
pip install -r requirements.txt
to install all of the required packages (requests
andbeepy
). - If you use conda, run
conda env create -f environment.yaml
and then activate the conda environment usingconda activate vacdev
before running the script.
This should be easy enough for someone comfortable with technology. Ask for help on NextDoor or Reddit - it's where I answer a lot of tech questions for my neighbors!
Run the script with your chosen state and list of cities. For example, to search for appointments in NJ in the cities of Princeton and Plainsboro, run
python vaccine.py python vaccine.py --state NJ --cities princeton plainsboro
You will see output like this:
Tue Mar 30 12:43:37 2021
PLAINSBORO Fully Booked
PRINCETON Fully Booked
By default, the script will check for appointments every minute and run for a total of 3 hours after which it will exit. To change these values, you can use specify --total
and --refresh
options respectively. Run python vaccine.py --help
for details.
This script is for monitoring the appointment website without clicking refresh 1 Billion times. It is not going to automatically book for you. And if you fork this and create an automated booking applet, I will personally send 1000 adolscent, chewing puppies to your house. And nobody wants that. Speaking of contributing...
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request