Open bhasim1 opened 1 year ago
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
So I see no teacher in the browser, but with getTimetableForToday
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.
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
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?