Skip to content

maxime-desmarchelier/Aurion-Grades-Notifier

Repository files navigation


Logo

Validatos : Aurion-Web Grades Scraping

About The Project

Aurion is an ERP (Enterprise Resource Planning) developed by Auriga and used by the students of ENSIIE (École Nationale Supérieure d'Informatique pour l'Industrie et l'Entreprise). It allows them to access their schedules, notes and other important information.

The project aims to notify users when a new note is available on Aurion-Web. To do so, it uses Puppeteer to simulate a user's action and DiscordJS to publish an announcement in a Discord channel.

Program's structure

Getting Started

Prerequisites

Installation

  1. Clone the repo

    git clone https://github.com/maxime-desmarchelier/Validatos.git
  2. Install NPM packages

    npm install
  3. Enter your credentials in config.js

    {"credentials": {
         "user": "AurionWebUser", "password": "AurionWebPassword"
     }
    }

    or use environment variables

    AURION_USER=AurionWebUser AURION_PASSWORD=AurionWebPassword
  4. Enter Discord information in config.js

    You will have to set up a Discord bot and get its token. Tutorial here.

    You can find the channel ID by enabling developer mode in Discord and right-clicking on the channel you want to use

    {
      "discord": {
        "token": "DISCORD_TOKEN",
        "logChannelId": "DISCORD_BOT_CHANNEL_ID",
        "announcementChannelId": "DISCORD_BOT_ANNOUNCEMENT_CHANNEL_ID"
      }
    }
  5. (Optional) Enter Extra information in config.js

    You may want to change the default refresh rate (in minutes)

    {
      "extra": {
        "refreshRate": 60
      }
    }

    You may want to use healthchecks.io API

    {
      "extra": {
        "healthCheckUuid": "UUID",
        "healthCheckApiKey": "API_KEY"
      }
    }

About

Aurion-Web Grades Scrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published