CoWIN Auto Booking Slot
This repository has been archived on 2025-01-20. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2021-05-20 08:04:35 +05:30
cowin.py Changed Time Interval Minute to Second 2021-05-20 08:02:50 +05:30
install.sh bash script for Installing Pkgs and Requirements 2021-05-17 10:08:24 +05:30
README.md Update readme 2021-05-20 08:04:35 +05:30
requirements.txt bs4 2021-05-17 06:28:58 +05:30

CoWIN Auto Booking Slot ( Updated on 20/05/2021 )

Auto Slot Booking when there is a vaccine slot available at your location, by running a script on your phone.

Demo Video

https://user-images.githubusercontent.com/45506201/118438178-8b02d100-b701-11eb-873c-8521def5b1a0.mp4

Getting Started

By using Tremux you can run script and recieve the notification on your phone.

  • Setting Up Termux

    • Install Termux App Link.

    • Install Termux:API ( Required v 0.31 to read SMS ) Apkpure Link.

  • Installing Packages and Requirements

    • Step 1 : ( Install git and Clone repo )

      pkg install git && git clone https://github.com/truroshan/cowin-termux.git
      
    • Step 2 : Open Cloned Folder and run install.sh

      cd cowin-termux && bash install.sh
      

Running Main Script for CoWin Booking

Command for script :

python cowin.py --m <MOBILE-NO> --p <PIN-CODE> --a <YOUR-AGE> --t <INTERVAL-SECOND> --d <DOSE-COUNT> --fast

python cowin.py --m 9966996699 --p 110011 --a 45 --t 1 --d 1 --fast

Required values like mentioned below

  • Replace --m = MOBILE-NO with your mobile no.
  • Replace --p = PIN-CODE with your pincode.

Optional arguments accepted:

  • Pass --a = YOUR-AGE with your age (default is 18).
  • Pass --d = DOSE_COUNT Vaccine First Dose or Second Dose (default dose is 1).
  • Pass --t = INTERVAL-IN-SECOND to change the frequency of calling Cowin API (default is 30 sec).
  • Only Pass --fast for direct booking no scheduling.