forked from pallupz/covid-vaccine-booking
-
Notifications
You must be signed in to change notification settings - Fork 214
IFTTT
John Doe edited this page Jun 6, 2021
·
1 revision
- Create an account in ifttt.com (A premium paid account is recommended for a quicker response)
- Create a new applet
- If this..... click on Android SMS trigger
- Select "New SMS received matches search" and use CoWIN as the search key
- Then... Choose a service named Webhooks and then select make a web request
- Paste the url: https://kvdb.io/<kvdb_bucket>/99XXXXXXXX replace 99XXXXXXXX with your phone number and <kvdb_bucket> with your own key that you got in the previous step of KVDB setup.
- Method is PUT
- Content Type PlainText
- Body: Add ingredient and select Text
- On your android phone, install ifttt app
- Login
- Ensure that the battery saver mode, and all other optimizations are removed. The appshould always run (This is the key for quick response).
- Tip: If your IFTTT is not triggered when your SMS is received: https://www.androidpolice.com/2020/05/30/how-to-prevent-apps-sleeping-in-the-background-on-android/ Also a premium account is faster
- Clone this repository
- Go to
src
directory and run the scriptcd src && python covid-vaccine-slot-booking.py
- On Mac I had to do the following too
brew install python-tk brew install SoX
- Run the script, use the steps given below to enter your preferences
- Hopefully you get the slot
- Stay healthy and stay safe!
Step 1 |
Step 2 | Step 3 |
Step 4 | Step 5 |
Step 6 | Step 7 |
Step 8 | Step 9 |