Nils Bergmann

Results 57 comments of Nils Bergmann

At some point I began rewriting the client in ts, but I stopped, because I had no time. Maybe I will do it in a few weeks. The only thing...

I mean, meanwhile there are typescript defintions :)

> I am working on a project that involves the WebUntis API and when I first saw this repo I just skimmed over the source code and everything looked messy...

Someone just needs to implement the function for this. I don't have access to a school which uses exams in webuntis, so I can't test it.

Add some point somewhere should add tests for this. But at the moment it is fine.

Can you do some debugging? Does it fail [here](https://github.com/SchoolUtils/WebUntis/blob/b66c74df2a7b95521ff1099721eab9f007c48449/index.js#L170) or [here](https://github.com/SchoolUtils/WebUntis/blob/b66c74df2a7b95521ff1099721eab9f007c48449/index.js#L171) or [here](https://github.com/SchoolUtils/WebUntis/blob/b66c74df2a7b95521ff1099721eab9f007c48449/index.js#L187). Sorry for the late response.

You can use this method: https://webuntis.noim.me/WebUntis.html#getTimetableFor The `WebUntisElementType` for rooms is `4`. You can get the rooms with https://webuntis.noim.me/WebUntis.html#getRooms

Yes, they are all optional. There are two possible options: 1. There simply is no content 2. Or you don't have permission to access it Here you can find all...

No, not really. Untis introduced a set of private APIs. Can you show an example of the available text? Maybe we implemented the private API.

Hm, it could be a new optional field which you need to explicit require in https://github.com/SchoolUtils/WebUntis/blob/master/index.js#L304 or it may simply not be available for the "public" API. You can try...