get_modules: Retrieve module data from the Semestry API
Description
This function sends a GET request to the modules endpoint of the Semestry API and retrieves the module data.
Usage
get_modules(semestry, timeout = 30)
Value
The retrieved module data from the API.
Arguments
- semestry
An authenticated Semestry object.
- timeout
The timeout duration for the GET request (default: 30 seconds).