API wrapper for osiris (in Grafisch Lyceum Rotterdam)
- Fetching personalia (personal information).
- Fetching agenda.
- More to come...
The library can be installed through npm
npm i osiris.js
The beaner authentication token can easily be found in the osiris portal. Simply copy the token without the "Beaner" part into your code.
More examples can be found in the examples folder.
const osiris = require("osiris.js");
const client = new osiris("TOKEN");
(async () => {
const profile = await client.getPersonalia();
console.log(`Logged in as ${profile.name}`)
})()