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-17 06:27:15 +05:30
cowin.py Auto Slot Booking 2021-05-17 06:27:15 +05:30
README.md Changed Deafult Age & Interval Minute 2021-05-13 11:32:01 +05:30
requirements.txt Added requirements.txt 2021-05-12 15:17:16 +05:30

COWIN VACCINE AVAILABILITY NOTIFIER

Get notified on your phone when there is a vaccine slot available at your location, by running a script on your phone. Uses Co-Win public APIs.

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 App on phone to recieve notifications Link.

  • Installing Packages

    • Install Python

      pkg install python
      
    • Install Termux-API Package

      pkg install termux-api
      
    • Install Git

      pkg install git
      
    • Clone Repo

      git clone https://github.com/truroshan/cowin-termux
      
    • Install Requirements.txt using pip

      pip install -r requirements.txt
      

Running Script

Install python, if not already installed on Termux. Then run the following command:

python cowin.py --p <PIN-CODE> --a <YOUR-AGE> --t <INTERVAL-MINUTE>

Replace the arguments above with the required values like mentioned below

  • Replace --p=<PIN-CODE> with your pincode.

Optional arguments accepted:

  • Pass --a=<YOUR-AGE> with your age (default is 18).

  • Pass --t=<INTERVAL-IN-MINUTES> to change the frequency of calling Cowin API (default is 1 min).