Actions105
- Info Actions
- Messages Actions
- Homework Actions
- Absence Actions
- Calendar Actions
Overview
This node interacts with the Librus API to retrieve various types of data related to school management, such as messages, homework, absences, calendar events, and timetables. Specifically, the "Get Timetable" operation under the "Messages" resource fetches a timetable for a specified date range. This is useful for educators, students, or parents who want to programmatically access class schedules within a given period.
Practical examples include:
- Automatically fetching and displaying a student's weekly or monthly timetable.
- Integrating timetable data into personal calendars or school management dashboards.
- Generating reports or notifications based on upcoming classes.
Properties
| Name | Meaning |
|---|---|
| From | Optional start date (format: YYYY-MM-DD) to filter the timetable data from this date onward. |
| To | Optional end date (format: YYYY-MM-DD) to filter the timetable data up to this date. |
| Custom method name | Advanced option to override the default underlying API method called (e.g., to call a different Librus API method). |
Output
The output JSON contains the timetable data retrieved from the Librus API for the specified date range. The structure depends on the API response but generally includes details about scheduled classes, times, subjects, and possibly locations or teachers.
If multiple timetable entries are returned, each entry is output as a separate JSON object in an array.
No binary data output is associated with this operation.
Dependencies
- Requires valid credentials for the Librus API (login and password).
- Uses an internal client wrapper to communicate with the Librus API.
- No additional external services beyond the Librus API are required.
Troubleshooting
- No supported method found error: If the node throws an error indicating no supported method was found for the resource-operation combination, verify that the operation and resource names are correct and supported by the current version of the API client.
- Authentication errors: Ensure that the provided API credentials are correct and have sufficient permissions.
- Date format issues: The "From" and "To" properties must be in the YYYY-MM-DD format; incorrect formats may cause filtering to fail or return unexpected results.
- Empty results: If no timetable data is returned, check if the date range covers any scheduled classes and that the account has access to the requested timetable.
Links and References
- Librus API Documentation (official API docs, if publicly available)
- n8n documentation on creating custom nodes
- General info on date filtering best practices