Simple tool for querying Alabama vaccine website to check for available appointments
Project description
Purpose
This script polls the vaccine appointment database, looking for open time slots.
Procedure:
- Create an appointment on any available date at https://alcovidvaccine.gov/
- Note your email address and confirmation code
- Run this script and follow the prompts to configure.
- When it finds an open slot, it will open the confirmation page.
- Click either the first or second edit, depending on whether you need to change location and time, or just time.
If you're not quick enough, the appointment slot may be grabbed before you can get to it. Good luck!
Feel free to submit an issue and I'll do what I can to help. And try to avoid going to low on the sleep timer. I have never had any issues querying their website, but still best not to overload the servers.
Usage
The simplest usage is to run alvacc
and follow the prompts to create a configuration file.
These values can also be provided directly through the command line arguments, or the .config/alvacc.yaml
file (either in repo directory or /home/user) can be manually edited.
usage: alvacc.py [-h] [-s SLEEP_TIME] [--current_appointment_date CURRENT_APPOINTMENT_DATE]
[--confirmation_number CONFIRMATION_NUMBER]
[--locations LOCATIONS [LOCATIONS ...]] [-v]
optional arguments:
-h, --help show this help message and exit
-s, --sleep SLEEP_TIME
Time to sleep between queries (seconds)
--current_appointment_date CURRENT_APPOINTMENT_DATE
curret appointment in `Month day` format
--confirmation_number CONFIRMATION_NUMBER
Confirmation number from previously booked appointment
--locations LOCATIONS [LOCATIONS ...]
space-seperated list of counties to use. available counties: Autauga
Baldwin Barbour Bibb Blount Bullock Butler Chambers Cherokee Chilton
Choctaw Clarke Clay Coffee Colbert County Covington Crenshaw Cullman Dale
Dallas Decatur Dekalb Elmore Etowah Fayette Franklin Geneva Greene Hale
Heflin Henry Houston Huntsville Jackson Lamar Lauderdale Lawrence Limestone
Lowndes Macon Madison Marengo Marion Marshall Monroe Montgomery Morgan
Perry Pickens Pike Rainsville Randolph Russell Sumter Sylacauga Talladega
Tallapoosa Tuscaloosa Walker Washington Wilcox Winston
Installation
This package can be installed or just run directly from the repo folder. Beyond Python 3+, the only package requirement is PyYAML
Clone
git@github.com:zrsmithson/alvacc.git
Install from repo folder
pip install .
Future work
I've only dealt with my own configuration, so if there are any issues running the program, submit an issue or a PR. I'm sure something will change on the website side, so let me know if you come across any issues.
There was some work on watching the entire month instead of just the next avilable time, but I found it was easiest just to watch next available appointment slots. With all the walk-in clinics, I'm pretty sure people are setting up their appointments then getting it somewhere else.
Simplification can definitely be done between configuration, locations, etc. This would be useful depending on interest in using this package for other purposes than the script.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file alvacc-1.0.tar.gz
.
File metadata
- Download URL: alvacc-1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95ecdd01c34fd6af5c16ee875ac410cd1d51ebec676c5123e167117065c3cc91 |
|
MD5 | cffe28ec749115f57e7004153f3ee654 |
|
BLAKE2b-256 | 14389dfd8cb72e44041d78366d88274512f94f7961a8adb2237c8f867acf30be |
File details
Details for the file alvacc-1.0-py3-none-any.whl
.
File metadata
- Download URL: alvacc-1.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65598d8d75453308720a71259507e66a0106c07d8b028cee55f174705c2e161c |
|
MD5 | 9f0d54c8d3b863810d156c34f6510377 |
|
BLAKE2b-256 | 31ede575f8d56381f06d8da26805638f68daebf8c97e967d22f8a12d545a2267 |
File details
Details for the file alvacc-1.0-1-py3-none-any.whl
.
File metadata
- Download URL: alvacc-1.0-1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5beb4771d2def645fa7ad70d3a7feceddc46bb72f200ae76bccb56e800be657e |
|
MD5 | c2f45358911083969247d64628c5dce7 |
|
BLAKE2b-256 | 60c35a548c6aafa1a28469c6b5df2ad6a6d731904347b8d8514a1688aa158058 |