zermelo.ts
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

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.

Dependents (0)

Package Sidebar

Install

npm i zermelo.ts

Weekly Downloads

1

Version

0.1.3

License

MIT

Unpacked Size

39.3 kB

Total Files

76

Last publish

Collaborators

  • kolkies