pallupz / covid-vaccine-booking

This tool can be used to automate booking slots on Co-WIN Platform.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automate OTP for Phone's synced with computer (suggestion)

sandystays opened this issue · comments

Thanks for giving us this great app. It is working. Unfortunately, I could not use it because the code stops when the Token expires. Unfortunately, at my location there is only 1 vaccination center. The vaccination slots at my pincode get updated anytime after mid-night and it was not possible to stay awake to manually enter OTP.
Since my phone is synced with my computer using the "Your Phone" Windows 10 app, the OTP is visible in the computer screen (notification area). Is it possible to add a functionality to read the recent OTP from the "Your Phone" app notification and continue the script in an automated manner so that we do not miss the slots. Thanks

I dont know if Your Phone has an API we could use. Without that, it will be tough.

@pallupz there is also google messages, the web version can be running on the laptop with notifications on. If you have google messages as default on phone then the web version will give you a notification on laptop.

There are many options including the one in this fork: https://github.com/bombardier-gif/covid-vaccine-booking

The challenge is coming up with a solution that works for most people with minimal setup. Some of these are not viable for a layperson to set up.

@pallupz Agreed

I integrated this script with Pushbullet API and otp verification works like a charm (except when the damn otp doesnt arrive). If you have an android phone, this is the easiest way.

I integrated this script with Pushbullet API and otp verification works like a charm (except when the damn otp doesnt arrive). If you have an android phone, this is the easiest way.

Have you created a PR or fork? Would love to use it.

I was able to use SMSq to forward the sms messages to a telegram bot and then use telethon to grap the OTPs.