Coronavirus is the worst thing we've ever seen in our life. I'll have long-life impact in our life. We can minimise the chances of getting infected by it. So, feel free to take part in this vaccination drive 😎
🔊 Special thanks to Pallupz 💝
- Are you not getting slot for your vaccination?
- Are your logging every day to book slot for vaccine?
- Are you 18+ but not getting single open slot?
- Are you a programmer or have some knowledge of python?
- Are you a registered 'cowin.gov.in' user?
- This project will automatically book a slot for vaccine available in your area.
- This script will ask whether you need to auto book your slot or not
- You can even save the input you've given
- Completely dependent upon the registration part you've done already
- Will ask for OTP needed for logging you in
- Your data is saved in your system only
- Can book for all members added in your account registered in covin.gov.in website
- Entering mobile number initially
- Searching the your location
- Confirmation of your details
- Scanning for the available slots in given centers
- Re-scanning as timeout for account's session
- If details saved, it'll take data from there
- Booking successful message
- requests
- tabulate
- inputimeout
- svglib
- reportlab
- pyinstaller
- pysimplegui
Install Python 3.9 and PyCharm first 📌
Easy steps to install above required libraries in PyCharm
- Step 1: Click CTRL+ALT+S
- Step 2: Click on Project >> Python Interpreter
- Step 3: Click on + button
- Step 4: Search each one of them and Click Install
- Step 5: After all are installed, Click on 'X' and then 'OK' button
- Step 6: Click on
▶️ button
Your phone number
(eg. 9346892074)OTP you got in that number
(eg. 539035)For whom to book slot
(eg. 1)Preference for the vaccine type
(eg. 1)How do you want to search for center
(eg. 2)Your Pincode, if selected 2 above
(eg. 831001)Your State
(eg. 4) - Index number mentioned thereYour District
(eg. 12) - Index number mentioned thereFiltering centers with availability
(eg. 1)How often to refresh the calendar
(eg. 10)Search for next seven day starting from
(eg. 1)Vaccine fee type preference
(eg. 1)Do you want to auto-book
(eg. yes-please)Do you like to save in json file
(eg. y)Proceed with above details
(eg. y)
- Only valid for almost 15-16 minutes only. The code will give a beep sound and stop. You need to re-run the code and give OTP.
- Any wrong input will be declared as wrong input and program will terminate ⛔. So, read the steps carefully.
- Captcha needs to be solved manually as it can't be automated. Some recaptcha can be automated but then also if they've less database support.
- Just extract it in a folder
- Open in PyCharm
- Install libraries
- Open the file covid-vaccine-slot-booking.py
- Hit
▶️ - Give necessary inputs
- Wait for the successful message