Suiram1701 / WebUntisAPI.Client

A library in .NET to interact with the WebUntis API (Not official).
MIT License
1 stars 0 forks source link

Get absences #4

Closed SoldatXwing closed 1 month ago

SoldatXwing commented 1 month ago

Hello, I was wondering if it is possible to get the absences within a school year via the API? I haven't found anything direct about this.

Suiram1701 commented 1 month ago

WebUntis supports it and because of the fact that the GUI get everything from the API there also have to be endpoints to request these data. I created this API client by looking on the traffic tab and a bit reverse engeneering so what I can't see I can't implement that good. In another WebUntis API client (written in ts) you can see that this endpoint exists.

Suiram1701 commented 1 month ago

But I doesn't think that this is from use for you as long your not a teacher. In the json-rpc API of Untis I found also a method ot get the absences but I was not permitet to use it (as a student user).

SoldatXwing commented 1 month ago

Alright, that's all I wanted to know, whether this endpoint already exists in this API. Maybe I will expand this API to include this in the future. If you would like to talk more about this, feel free to add me on Discord: soldatxwing