Skip to content

bot to help people in quebec to reschedule a second shot of the covid vaccine

Notifications You must be signed in to change notification settings

mlb6/bot-covid-appointment-quebec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Covid vaccine appointment bot

This bot can be used to look for appointment availabilities. This work only on Mac OS X but could be adapted for other platform. It sends a link to a phone number using your iMessage app, and will also warn you with a Mac OS Notification.

This is provided as is... feel free to improve it. (Pull Request welcome)

Instalation

Basic tooling

If your not a developer you will need to install some basic tools. Open your terminal in "Applications" > "Utilities" and execute the following commands

Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Node & Yarn

brew install node yarn

bot

Clone this repository with git, or download it and extract it.

yarn install && yarn install:mac

Configuration

Open the env.sh file to edit the configuration

With the network tab of your browser you will have to look for a "place" id and a "service" id in a URL looking like that :

https://api3.clicsante.ca/v3/establishments/60098/schedules/day?dateStart=2021-07-31&dateStop=2021-08-01&service=8190&timezone=America/Toronto&places=2758&filter1=undefined&filter2=undefined&filter3=undefined

Start

yarn start

Contributing

Feel free to send me PR.

About

bot to help people in quebec to reschedule a second shot of the covid vaccine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published