Skip to content

Latest commit

 

History

History
105 lines (79 loc) · 5.04 KB

README.md

File metadata and controls

105 lines (79 loc) · 5.04 KB

Auto Slot booking for COVISHIELD/ COVAXIN vaccine 💉

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 💝

What's the use | What's this 👋

  • 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?

Then you're in correct place.

  • 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

Screenshots

  • Entering mobile number initially

Enter mobile number

  • Searching the your location

Search your location

  • Confirmation of your details

Details confirmation

  • Scanning for the available slots in given centers

Scanning for available doses

  • Re-scanning as timeout for account's session

Re-scanning

  • If details saved, it'll take data from there

Data re-usage

  • Booking successful message

Booking success message

Library Requirements 📑

  • requests
  • tabulate
  • inputimeout
  • svglib
  • reportlab
  • pyinstaller
  • pysimplegui

Install Python 3.9 and PyCharm first 📌

How to install libraries

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

What inputs will be asked here 📝

  • 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 there
  • Your District (eg. 12) - Index number mentioned there
  • Filtering 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)

Cons 🔰

  • 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.

How to run it 🏃

  • 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

Was I able to make simpler with this script ? Was this simpler than your manual method ? Are you proud to be a programmer ? Do you love PYTHON ?

If ✔️, then give it a 🌟