Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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////
```