zermelo.ts
v0.1.3
Published
The node package for using the zermelo api
Downloads
7
Readme
Zermelo.ts
Zermelo API wrapper for Typescript & NodeJS
Installation
yarn add zermelo.ts # Or npm install zermelo.ts
Example
const { Zermelo } = require("zermelo.ts");
const asyncFunction = async () => {
const accessToken = await Zermelo.getAccessToken("schoolnaam", "koppel_code");
const ZermeloAPI = Zermelo.getAPI("schoolnaam", accessToken);
const userInfo = await ZermeloAPI.users.get();
console.log(userInfo);
};
asyncFunction();
Licensing
The code in this project is licensed under MIT license.