A FastAPI application to manage TUM degrees, modules, and mappings. This application collects data from TUM Campus Online, crawls degree and module information, and provides a convenient API to access the data.
Note that the crawler may take approximately 7 to 8 hours to collect all degrees and their associated information.
git clone https://github.com/rchr1/tum-ects.git
cd tum-ectsdocker-compose up -dThe API will be available at localhost:5000. The crawler needs a few hours to collect all degrees.
- Get the number of degrees and modules:
GET http://localhost:5000/- Get all degrees:
GET http://localhost:5000/degrees- Get the info of a specific degree:
GET http://localhost:5000/degree?degree_id=<degree_id>- Get the info of a specific module:
GET http://localhost:5000/module?module_id=<module_id>- Find a module by its number:
GET http://localhost:5000/find_module?nr=<module_number>- Get the modules of a degree:
GET http://localhost:5000/modules_of_degree?degree_id=<degree_id>[&valid_from=<valid_from>&valid_to=<valid_to>°ree_version=<degree_version>]