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
- Host: GitHub
- URL: https://github.com/stijnvdkolk/zermelo.ts
- Owner: stijnvdkolk
- Created: 2020-03-19T08:24:44.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-09T01:37:22.000Z (about 3 years ago)
- Last Synced: 2025-04-30T15:47:19.969Z (about 1 year ago)
- Topics: hacktoberfest, nodejs, zermelo, zermelo-api-wrapper
- Language: TypeScript
- Homepage:
- Size: 184 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
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.