Vishvajeet590 / CowinPy-Andy

MIT License
1 stars 0 forks source link

CowinPy-Android

Its an easier way to run python script to Covid vaccine slot book developed by @pallupz . In earlier version Script have to be run continously on PC/Laptop, But by using Chaquopy we can do that on Android devices. It will be way less power consuming and help folks not having access to Computer Laptops.

You can dowload apk from Here
You can dowload Beta apk from Here

If possible notify if it works or if any problem immediately create new issue. Also, STAR this repository with others if you liked. It keeps me motivated

Update ✍ :

Master Branch
V1.1 : Automatically detects SMS from COWIN and enters it.
: Beep alert sounds are now suported on Android.
: User can continue without giving permission to SMS and type OTP manually.
Dev Branch
V2.0 : Added feature to save JSON for diffrent profiles configuration.
     : Added feature to send OTP to PC version of script.
     : Fixed crashing bugs.

Screenshots 📱 :

Setup process for Otp to Pc feature

Note : Pc and android device must be connected to a common network (Same wifi or Connect pc with hotspot of Android device )

Step 1 : Download Beta APK from Here and Zip containg all files from OtpTOPc folder from Here. Run OtpServer.py in terminal.

Step 2 : Open app on your device and press Laptop icon on top right corner. Enter the details in App and hit Handshake. When you see "You are connected", press Save in app.
( I have not added many checks (LAZY) so please enter as they appear on screen )

That's it now run the main.py in terminal.🤞

BONUS : Use Otp2Pc in your project 🤘

Download otpServer.py file from Here and add it to your working directory

from otpServer import getOtp

# use this function whereever you want OTP

OTP = getOtp()