Skip to content

onlynishant/covid-slot-booking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

covid-slot-booking

This is a simple Java program that will help you to book COVID appointment.
It requires Java 8.
Just run bellow command and follow instrcutions:

It requires you to enter captcha manually before sending booking request. so wait for beep sound.

1. you need to find out district id of the targeting area. (easy for tech folks. just use developer mode in browser. screenshot attached)
2. you need to enter OTP manually (you will hear 2 beep sound) every time session expires (15 mins)
3. you need to enter captcha (you will hear 5 beep sound) when slot is available in Popup (you will get 4-5 captcha window if it fails to book.)

---------------------------
Follow these steps to run:
---------------------------
git clone https://github.com/onlynishant/covid-slot-booking.git
cd covid-slot-booking
mvn package
// for weekly search
java -cp "target/dependency/*:target/CowinHelp-1.0-SNAPSHOT-jar-with-dependencies.jar" Runner
// for daily search [NEW and fast]
java -cp "target/dependency/*:target/CowinHelp-1.0-SNAPSHOT-jar-with-dependencies.jar" Runner2

Please install maven: https://maven.apache.org/install.html

How to find district ID:

  1. Go to https://www.cowin.gov.in/home
  2. Open developer mode in Browser and move to Network tab
  3. Select Search By District and then select state and District and hit Search
  4. You will able to see URL like below image district id

Pro Tips: You can direclty enter all the user input in code itself so that every time you run the program (in some case every 15 mins because of new session expiry limit), you just need to enter OTP.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages