HTML Parser for WebUntis Timetables This is an Flask API which provides a JSON output from any open WebUntis Timetable.
pip install Flask
pip intstall flask-cors
pip install requests-html
Clone The repo and change your directory in to it. cd WebUnitisParser
Install all dependencies and export FLASK env Variable export FLASK_APP=serve then run flask run
GO to your WebUntis timetable and copy the following parts:
| Variable | Explenation |
|---|---|
| base_domain | <something>.webuntis.com |
| school_id | WebUntis/?school=<school_id>#/copy only the school id |
Get all the Classes of your School.
http://localhost:5000/periods/<base_domain>/<school_id>
http://localhost:5000/periods/<base_domain>/<school_id>/<class_id>/<date>