Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

NPM API For the VisuNotes Website linked to the BUT IT HighSchool. Allow to scrap the notes using your own login

License

Notifications You must be signed in to change notification settings

Eric-Philippe/api-visunotes-tlse

Repository files navigation

Cril

API VisuNotes TOULOUSE


A simple "API like" to fetch grade on the school website. (IUT Informatique [FR]Toulouse Paul Sabatier). Everything is developed under two NPM dependencies (lodash & puppeteer), all in JavaScript (NodeJs).


Links


Function


This API export Notes, Blocs and the NotesManager Objects to work with. Everything is synchrone and allow not to load every pieces at the same time.

const { NotesManager } = require("api-visunotes-tlse");
const notes = require("file_name.json");

myNotes = new NotesManager(["USERNAME", "PASSWORD"], "PREFIX", "SUFFIX");
myNotes.loadNotes();
myNotes.toJSON();

yourNotes = new newNotesManager();
yourNotes.JSONtoJS(notes);

yourNotes.isEqual(myNotes.getNotes());

License

This API is licensed under the GNU 3.0 license. See the file LICENSE for more information. If you plan to use any part of this source code in your own bot, I would be grateful if you would include some form of credit somewhere.

Author

@Zaorhion : Eric PHILIPPE Discord : Sunrise#1318

About

NPM API For the VisuNotes Website linked to the BUT IT HighSchool. Allow to scrap the notes using your own login

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published