Skip to content

alluriramgopalvarma/CoWin-Termux

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CoWIN Auto Booking Slot (26/05/2021 )

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

Group in Telegram

Demo Video

vid.mp4

Getting Started

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

  • Install Termux

    Termux wiki suggest not to use playstore termux.
  • Installing Packages and Requirements

    • Step 1 : First update pkg

      pkg update
      
    • Step 2 : Install git

      pkg install git
      
    • Step 3 : Clone repo

      git clone https://github.com/truroshan/cowin-termux.git
      
    • Step 4 : Open Cloned Folder

      cd cowin-termux
      
    • Step 5: run install.sh

      bash install.sh
      
  • OTP Fetching Methods

    // Three Options //

    • AutoMode (a) : Fetch OTP using Termux:API App

    • SiteMode (s) : Fetch OTP from Database Hosted on Cloudflare Worker

    • ManualMode (m) : Input method

Running Main Script for CoWin Booking

Command for script :

python cowin.py --m <MOBILE-NO> --p <PIN-CODE> 

python cowin.py --m 9966996699 --p 110011 

⚠️ Required values like mentioned below:

  • Replace --m = MOBILE-NO with your mobile no.
  • Replace --p = PIN-CODE or DISTRICT-ID with your Pincode or District Id.

💡 Optional arguments accepted:

  • Pass --o = OTP fetching mode.a = AutoMode s = SiteMode m = ManualMode ( deault AutoMode )
  • 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).

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.4%
  • Shell 0.6%