timetable
Get a week's timetable from Moodle with lesson times, rooms, courses, lecturers, and student numbers. Identify room clashes, double-booked lecturers, and missing rooms; optionally save the week as a browser-ready web page.
Instructions
The lessons of one week across a campus, from Moodle: day, time, room, course, lecturers and number of students, plus room clashes, a lecturer in two places, lessons with no room yet, and the week as a WhatsApp message. The room is read from the attendance session description ('Aula: DREAM'). With page_path it also writes the week as a web page (per room, per lecturer, free rooms) to open in a browser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| week | No | Any date in the week, YYYY-MM-DD; default this week | |
| search | No | Which courses: text in their short name, e.g. "262701_FL" = Florence, AY 26/27, term 1 | _FL |
| lecturer | No | Only this lecturer's lessons (part of the name) | |
| page_path | No | Where to save the web page, e.g. "Desktop/orario.html" |