Skip to content

A script to alert you when a COVID-19 vaccine has been located within your given search parameters.

Notifications You must be signed in to change notification settings

patrickdemers6/usa-vaccine-alerter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USA Vaccine Availability Alerter Script

This script uses the API provided by covid-vaccine-spotter to send a text message when a vaccine has been located.

Setup

Using Twilio

  1. Install requirements by running pip install -r requirements.txt
  2. Setup a Twilio account. Free trial link: (refferal) (no refferal)
    • Get a phone number
    • Note your phone number, SID, and Auth Token
  3. Create a file named config.json and copy the below configuration code. Each phone number to send a message to should be listed in the "to" list.
{
  "state": "IL",
  "cities": ["Chicago"],
  "zip_codes": [],
  "to": ["+15555555555"],
  "from": "+15555555555"
}
  1. Edit the values to setup your search parameters and phone number details.
  2. Save the updated file.
  3. Call the program using python3 script.py SID AUTH_TOKEN where SID and AUTH_TOKEN are replaced with your proper tokens from twilio.

Not Using Twilio (output printed to CLI)

  1. Install requirements by running pip install -r requirements.txt
  2. Create a file named config.json and copy the below configuration code.
{ "state": "IL", "cities": ["Chicago"], "zip_codes": [] }
  1. Edit the values to setup your search parameters.
  2. Save the updated file.
  3. Call the program using python3 script.py

MLH

Created for Major League Hacks: Share challenge, day 3.

About

A script to alert you when a COVID-19 vaccine has been located within your given search parameters.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages