This is an unofficial API for dualis by DHBW built with Bash. This one file NOTEN.sh lets you retrieve all grades as json.
The interface can be used by all sorts of applications for automating things concerning grades.
It uses 'curl' for login and querying all the pages.
Call:
./NOTEN.sh [Options]
Options:
-u Set username (f.e. [email protected])
-p Set password
-h Show help page
The options -u and -p are mandatory fields, without them, grades cannot be gathered.
Alternatively you can use the webserver server.py.