An SDK for communicating with the school system Edupage. The goal is to be able to create custom integrations and access our data in other projects.
Collaboration with @shad0wRoot.
An SDK for communicating with the school system Edupage. The goal is to be able to create custom integrations and access our data in other projects.
Collaboration with @shad0wRoot.
I’m back from my break! I and my friend who works on this project as well took a hiatus from working on this, since we have school stuff, competitions and such. But, we’re back!
Today, I implemented the base of the MessageBuilder class, which will be used for sending messages.
While building that, I realized, that working with IDs in this state is terrible - somewhere, Edupage wants “102”, somewhere “Student102” and somewhere “StudentOnly102”, which puts a lot of mental pressure onto the end developer to make sure they’re right. To fix this, I built an abstract ID class, which takes in any form of ID, and the implementation takes whatever it needs.
I also migrated from legacy collections (each collection having it’s own full class), to a generic one with type templates.
Log in to leave a comment
Today I implemented support for homework and events, such as holidays or school events. And also added tests.
Log in to leave a comment
In the past two days I implemented parsing grades from the timeline. Now the user is able to get the grade entity from the timeline.
Log in to leave a comment
just fixed a simple bug lmao, im lazy
Log in to leave a comment
Today, I implemented fromArray functions for loading messages, message replies and their data from the raw input. I have yet to actually try it out and write tests.
https://codeberg.org/edudata/edupage-sdk/commit/a2dcd8
https://codeberg.org/edudata/edupage-sdk/commit/9f9c591
Log in to leave a comment
During the short time I worked on this project, I added the base data class for timeline events, and also analyzed the DBi table data and created ~20 different timeline event types. I’m hoping to create at least the timeline event data classes for messages and maybe substitutions, and the timeline event owner data class. And also fetching and the resource.
Log in to leave a comment