Skip to content

iranathan/osiris.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osiris.js

API wrapper for osiris (in Grafisch Lyceum Rotterdam)

Features

  • Fetching personalia (personal information).
  • Fetching agenda.
  • More to come...

Installation

The library can be installed through npm

npm i osiris.js

How to get authentication token

The beaner authentication token can easily be found in the osiris portal. Simply copy the token without the "Beaner" part into your code.

Screenshot of network tab

Quick start

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}`)
})()

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published