Poller for available vaccine appointments at HEB.
$ git clone [email protected]:troywarr/heb-covid-check.git
$ cd heb-covid-check
$ npm install
$ node index.js
In the terminal output, you'll see checking...
every time the program polls the HEB data. If and when it encounters and available appointment, it will exit, log the pertinent data to the console, open the appointment scheduling web page in your default web browser, playing 3 notification beeps to get your attention. On the appointment signup page, you will likely only have several seconds to claim an appointment date and time in order to start the 10-minute reservation window that will allow you to enter your information and schedule the appointment.
- Change polling interval in the code here. The HEB website updates every 60 seconds, so the only advantage to setting this lower than 60 seconds is to minimize the time that passes after their update before the program sees their new data.
- Change number of tabs to open in the code here. Default is 1 tab, but if you're trying to get in multiple appointments for times close to each other, raise this to 2 or more. You'll have a very short window to secure appointment slots, so once you get to the part of the process with a 10-minute timer started, jump to the next tab right away to grab the next appointment slot.
- Change cities to watch in the code here. You can find available cities in the example HEB data output file. Use lowercase, as the data has inconsistent casing (e.g., both
SAN ANTONIO
andSan Antonio
), so all matches are done by downcasing city names.