-
Notifications
You must be signed in to change notification settings - Fork 2
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
Getting timetables for classes, students and teachers not just "My Timetable" #16
Comments
I looked it up, and it turned out it isn't that easy to implement. The only thing I can get from EduPage is a few megabytes large JSON object with all the data divided into arrays. So to implement it properly, I have to make the whole parser/generator to create the final timetable (like on original EduPage site). I have currently no free time, but I will try to make it run (don't know when though). |
bruh
Ok. |
Unfortunately no, but actually, under the hood it uses the same data (so it wouldn't help, it would even harder to optain that data). |
I've been able to implement this with this endpoint: If your school setup in such way that you don't see the timetables of other people, it won't work obviously, but I think this is the easiest way to implement this and it should work for everyone (if school is setup correctly). |
actually, when I go to that url with my schools subdomain it goes to 404.edupage.org |
@cfpwastaken Same result for me – your school probably doesn't have enabled viewing timetables of other people. But you can use it like this to view timetables in a browser:
|
My school has that disabled too. |
Yeah would be pretty cool to have, especially for my edupage discord bot as it currently shows my timetable to all students in my class who might have slightly different timetables.
Also i think this might be very easy to implement.
There should be some kind of InsufficientPermission exception for when you do not have permission to see a timetable.
The text was updated successfully, but these errors were encountered: