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

n3oney/vulkan-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vulkan-js

A library for working with Vulkan's UONET+ school register.

Instalation

npm install vulkan-js

or

yarn add vulkan-js

Usage

Import the package

import Vulkan from "vulkan-js";

Initialize a new instance of the client

const client = new Vulkan();

Register a new device on UONET+

client.getCertificate(token, pin, symbol, deviceName, androidVersion).then(certificate => {
    // save the certificate to somewhere, in this case I'm saving it to a json file
    fs.writeFileSync("./config.json", JSON.stringify(certificate), "utf8");
});

Get the students of the account and start the app

client.getStudents(certificate).then(students => {
    client.startApp(certificate, students);
});

After that you can explore the source or TypeScript IntelliSense and use the rest of the features (more will be implemented).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published