Skip to content

KevinJordil/GapsGrades

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gaps new grades notifier

Sends a Telegram notification when there is a new note on Gaps

Prerequisites

Install npm

Installation

After cloning the repo, you have to install the dependencies with npm -i.

Configuration

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, S1 or S2. For All you need to enter "-1", for S1 you need to enter "0" and for S2 you need to enter "1".

Usage

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.

About

Script to send new Gaps grades by Telegram

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published