-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with the returns of getTimetableForWeek #100
Comments
Do you see teachers when using webuntis.com in your browser? This extra method was implemented, because some schools prevented students from getting teacher information via official API, but show teachers on webuntis.com. So this method uses what webuntis.com uses in the background instead of the API. So yes, if the other method works for you, I would prefere that with the according range. |
So I see no teacher in the browser, but with getTimetableForToday |
So I have tested it and it works with getTimetableForRange. So the problem is that my school denied access to getTimetableForWeek, but everything else works normal? nice |
That's why you dont get the teachers via the week method. This week method exactly emulates what happens on webuntis.com in the back.
Yeah, seems like your school is doing the opposite of my 😆 . |
In the docs (https://webuntis.noim.me/classes/WebUntisAnonymousAuth.html#getTimetableForWeek) is says:
But I get no teachers in the return.
Can I just use the getTimetableForRange, pass in the range of the week and get a correct response from there?
The text was updated successfully, but these errors were encountered: