This function sends a GET request to the courses endpoint of the Semestry API and retrieves the course data.
get_courses(semestry, timeout = 30)
An authenticated Semestry object.
The timeout duration for the GET request (default: 30 seconds).
The retrieved course data from the API.
if (FALSE) {
semestry <- authenticate_semestry()
get_courses(semestry)
}