Skip to content

A simple Python script to check the availability of COVID-19 vaccine appointments in Quebec through ClicSante

License

Notifications You must be signed in to change notification settings

gdragotto/Vaccinator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vaccinator

A simple Python script to check the availability of COVID-19 vaccine appointments in Quebec.

Overview

This script simply performs a bunch of requests to ClicSante (the Quebec website for vaccination appointments) and tries to check the availability of a spot matching the following requirements:

  • Target Date: through the parameter target_date_start, and target_date_end. These are two string dates in the format "Y-M-D". Any appointment in this range will be taken into consideration.
  • Target venue: through the parameter target_venue. This is an unique identifier associated with your favorite venue. If you try to book an appointment through ClicSante, you'll see that id in the url (e.g., /clients3.clicsante.ca/012345 for venue 012345).
  • ZIP Code: This is not very useful, but somehow the api requires it. So far there is a placeholder with a Montreal/Mile-End postcode.
  • Request Interval: trhough the parameter request_interval. The interval at which queries should be sent.

Running

git clone https://github.com/gdragotto/Vaccinator/ && cd Vaccinator
pip install requests notify-py
python main.py

You should get a system notification with the available spots.

About

A simple Python script to check the availability of COVID-19 vaccine appointments in Quebec through ClicSante

Topics

Resources

License

Stars

Watchers

Forks

Languages