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).
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());
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.
@Zaorhion : Eric PHILIPPE Discord : Sunrise#1318