Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jontok/webuntisparser
HTML Parser for WebUntis Timetables
https://github.com/jontok/webuntisparser
Last synced: 11 days ago
JSON representation
HTML Parser for WebUntis Timetables
- Host: GitHub
- URL: https://github.com/jontok/webuntisparser
- Owner: jontok
- License: mit
- Created: 2022-04-21T09:17:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-26T11:59:18.000Z (over 2 years ago)
- Last Synced: 2023-03-22T02:30:54.336Z (over 1 year ago)
- Language: Python
- Size: 3.29 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebUntisParser
HTML Parser for WebUntis Timetables This is an Flask API which provides a JSON output from any open WebUntis Timetable.## Dependencies
```
pip install Flask
pip intstall flask-cors
pip install requests-html
```## How To Run
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`
## Usage
GO to your WebUntis timetable and copy the following parts:Variable | Explenation
--- | ---
base_domain | `.webuntis.com`
school_id | `WebUntis/?school=#/`
copy only the school id### Classes
Get all the Classes of your School.```
http://localhost:5000/periods//
```### Timetable
```
http://localhost:5000/periods////
```