Sends a Telegram notification when there is a new note on Gaps
Install npm
After cloning the repo, you have to install the dependencies with npm -i.
In the configuration file you have to enter several information:
- Your AAI username and password
- The id of the Telegram bot (there are many tutorials on the internet to create one)
- The id of the conversation/group with the bot (You can find how to get it on the internet)
- The Semester you want :
All,S1orS2. ForAllyou need to enter "-1", forS1you need to enter "0" and forS2you need to enter "1".
Personally I made a shell script that contains this line /usr/bin/node /<path>/GapsGrades/get.js. Then I run it at different times of the day with crontab on linux, like this 0 8,11,14,17,20 * * * /<path>/script.sh. You can also run it manually with node get.js.