A collection of Untis API methods to fetch data from the Eduvos Untis Server.
Note
Not a product of Eduvos. Student run project.
Version 1.2.0
Requires an active internet connection.
val api = KUntis(creds.secret, creds.email)
api.login()This requires the user to be a student at Eduvos. It will not work otherwise. It will return an authorization bearer token.
This is different from the public student ID. This is an internally used ID by the WebUntis Service.
api.fetchID()The will return a string which is the ID used to when fetching the timetable.
This fetches the student's timetable. It makes use of the Date class which makes working with dates easier. You can just write it as a string in the form of "YYYY-MM-DD" (padded with 0's to makes it the correct width).
api.fetchTimetable(Date(day = 21, month = 7),Date(day = 25, month = Months.July), creds.studentID)?.toJsonString(true)This will return a Klaxon JSON Object.
- Neo Sahadeo (Maintainer)
MIT License 2026