Pings an alert through telegram the moment the add-drop elective option is activated on the JIIT WebPortal.
So, we can drop our shitty electives as fast as possible. Electives are exchanged on a first come first serve basis so the sooner we request subjects of our choice the higher our chance of getting them.
- Fork this repo
- Follow the instructions here in the Prerequisites section.
- Set the mentioned in the above link as the
TELEGRAM_BOT_ACCESS_TOKEN
secret for the repo. - Set the mentioned in the above link as the
TELEGRAM_BOT_CHAT_ID
secret for the repo. - Set these secrets too:
JIIT_USERNAME
,JIIT_PASSWORD
- Adjust the cron timing in the workflow file. (Optional)
Oauth tokens need to be saved in each workflow run for the subsequent runs. We haven't implemented that yet.
Why use whatsapp tho? Whatsapp doesn't work right now through Github actions because their API access is very developer unfriendly.
This project uses a very tinie-mini modified version of pyjiit
The pyjiit.wrapper.WebPortal.__hit()
method is modified to not raise an error on the failure response by the server. Failure response implies add drop option is not available.
Email and WhatsApp alerts.