Big Update
This commit is contained in:
13
README.md
13
README.md
@@ -10,6 +10,10 @@ You can install this library from [npm](https://npmjs.com/package/virtueller-stu
|
||||
npm install virtueller-stundenplan
|
||||
```
|
||||
|
||||
# Note
|
||||
|
||||
This project in **very early developement**, expect things to break and change.
|
||||
|
||||
# Usage
|
||||
|
||||
This is a example on how to use the package:
|
||||
@@ -17,7 +21,10 @@ This is a example on how to use the package:
|
||||
```javascript
|
||||
const { VirtuellerStundenplan } = require("virtueller-stundenplan");
|
||||
|
||||
const vs = new VirtuellerStundenplan("user@example.com", "Password");
|
||||
const vs = new VirtuellerStundenplan({
|
||||
username: "user@example.com",
|
||||
password: "Password"
|
||||
});
|
||||
|
||||
(async() => {
|
||||
const timetable = await vs.getMyTimetable();
|
||||
@@ -25,7 +32,3 @@ const vs = new VirtuellerStundenplan("user@example.com", "Password");
|
||||
console.log(timetable);
|
||||
})()
|
||||
```
|
||||
|
||||
# Note
|
||||
|
||||
This project in **very early developement**, expect things to break and change.
|
||||
Reference in New Issue
Block a user