git clone https://github.com/jakob-kruse/WokeBerichte WokeBerichte
cd WokeBerichte
npm install
touch .env
See .env.example for the environment variables
- Go to webuntis
- Select your school and log in
- Open the console (
F12
) and selectnetwork
- Select
My Scedule
in webuntis - Search the
GET
-Request with the urlhttps://asopo.webuntis.com/WebUntis/api/public/timetable/weekly/data
and the following parameterselementType
,elementId
,date
andformatId
- The value of
elementId
is your timetableId
Hint: The request url will probably be displayed as data?
followed by the parameters.
npm run start <weeks-ago>
Note: --auto
has been removed. Every week will be requested and parsed, you'll see some output in the console, at the end the output you've seen will be written into reports.txt
(will be created if it doesn't exist).
npm run start 4
This will start at the current date - 4 weeks and will show you the teaching content of all the following weeks until today.