Periodically check the Polytechnique Montreal DossierEtudiant to alert me of any new grades or any modifications to my report card.
This is an Azure Function, it can be adapted to run on other plateforms. It does not need a database. It only needs access to an SMTP server to send an email and a blob storage to save the report card.
The following environnement variable must be set in order to configure the azure function.
Email settings
DOSSIER_EMAIL_SENDER
Email address for the senderDOSSIER_EMAIL_TO
Email address for the receiver of the emailDOSSIER_EMAIL_SERVER
Hostname of the SMTP server. The server must use STARTTLS. The function is configured with sendgrid.DOSSIER_EMAIL_PORT
Port of the SMTP server.DOSSIER_EMAIL_USERNAME
Username to connect to the SMTP serverDOSSIER_EMAIL_PASSWORD
Password to connect to the SMTP server
Blob storage settings
BLOB_URL
URL of the Azure blob storage containerBLOB_CONTAINER_NAME
Name of the Azure storage container.BLOB_KEY
Access key to the storage container.
Polymtl settings
DOSSIER_USERNAME
Username to connect to the Dossier etudiantDOSSIER_PASSWORD
Password to connect to the Dossier etudiantDOSSIER_DATEOFBIRTH
Date of birth used to connect to the Dossier etudiant. Yes, polymtl follows the NIST 800-63 🙄.