35 lines
738 B
Markdown
35 lines
738 B
Markdown
# Virtueller Stundenplan
|
|
|
|
This project is a unofficial NodeJS library for the [Virtueller Stundenplan](https://virtueller-stundenplan.org).
|
|
|
|
# Installation
|
|
|
|
You can install this library from [npm](https://npmjs.com/package/virtueller-stundenplan).
|
|
|
|
```bash
|
|
npm install virtueller-stundenplan
|
|
```
|
|
|
|
# Note
|
|
|
|
This project in (relatively) early developement, expect some things to break and change.
|
|
|
|
# Usage
|
|
|
|
This is a example on how to use the package:
|
|
|
|
```javascript
|
|
const { VirtuellerStundenplan } = require("virtueller-stundenplan");
|
|
|
|
const vs = new VirtuellerStundenplan({
|
|
username: "user@example.com",
|
|
password: "Password"
|
|
});
|
|
|
|
(async() => {
|
|
const timetable = await vs.getMyTimetable();
|
|
|
|
console.log(timetable);
|
|
})()
|
|
```
|