My script only reads Telegram group and alerts if matching word is found. I am not associated with the telegram group used in this script. This script just downloads the messages shared in the telegram and alerts for availability. Sometimes it could send false alarm. So, have caution.
SparkyH1BDropBoxAlert is a Python script designed to monitor specific Telegram chats for messages containing available appointment slots for H1B and H4 visa processing, then alert users via email, push notification and Alexa notifications.
Frustration + ChatGpt + Python + free time + innovation = My tool to alert me for the month I need
Read the instructions below and as well as FAQ & Detailed pages under WIKI section.
Before you can run this script, you will need:
- Python 3.x
- Download & install Python using https://www.python.org/downloads/
- Make sure to install these packages as well. telethon pandas pytz requests
- Download & install Python using https://www.python.org/downloads/
- A Telegram account with API access. https://core.telegram.org/api/obtaining_api_id#:~:text=Obtaining%20api_id&text=Sign%20up%20for%20Telegram%20using,parameters%20required%20for%20user%20authorization.
- An SMTP server (Gmail used in this example) for sending emails. https://support.google.com/mail/answer/185833?hl=en
- Optional: An Alexa device with Notify Me and Voice Monkey skills for voice notifications.
- Optional: IFFT configuration
- Telegram API: Sign up for Telegram API access and obtain your
api_id
andapi_hash
. Replaceyour_telegram_app_id
andyour_telegram_app_hash
in theconfig.ini
with your actual Telegram API credentials. - SMTP Settings: Replace
[email protected]
andyour_smtp_password
in theconfig.ini
with your actual email and password that will be used to send notifications. - Configure IFFT Applet with same email ID to receive push notication - Refer Wiki page for more detailed instruction.
- Alexa Notify Me: Set up Alexa Notify Me and obtain your access code. Replace
your_Alexa_notifify_me_access_code
in theconfig.ini
with your actual Notify Me access code. - Alexa Voice Monkey: Set up Voice Monkey for your Alexa device and obtain the URL. Replace
your_Alex_Voice_Monekey_URL
in theconfig.ini
with your actual Voice Monkey URL. Refer WIKI page for detailed instruction
Step 3 to 5 are optional. But highly recommend configuring at least one otherwise, high chance you will the alert.
To install the required Python libraries, run the following command:
pip install -r requirements.txt
python SparkyH1BDropBoxAlert.py