An open API service indexing awesome lists of open source software.

https://github.com/stijnvdkolk/zermelo.ts

Zermelo API wrapper for NodeJS
https://github.com/stijnvdkolk/zermelo.ts

hacktoberfest nodejs zermelo zermelo-api-wrapper

Last synced: about 1 year ago
JSON representation

Zermelo API wrapper for NodeJS

Awesome Lists containing this project

README

          

# Zermelo.ts

> Zermelo API wrapper for Typescript & NodeJS

## Installation

```bash
yarn add zermelo.ts # Or npm install zermelo.ts
```

## Example

```js
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.