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 grades. Specifically, for the Messages - Get Homework operation, it fetches detailed information about a particular homework assignment by its identifier.
Typical use cases include:
- Automatically retrieving homework details for students or parents to integrate into personal planners or notification systems.
- Aggregating homework data from Librus for reporting or analysis.
- Triggering workflows based on specific homework assignments retrieved from the system.
Properties
| Name | Meaning |
|---|---|
| From | Optional start date filter in YYYY-MM-DD format to limit the range of returned data. |
| To | Optional end date filter in YYYY-MM-DD format to limit the range of returned data. |
| Custom method name | Advanced: override the default underlying API method called (e.g., to call a different method than the standard one). |
Output
The output is a JSON object representing the homework details fetched from the Librus API for the specified homework ID. The structure depends on the API response but typically includes fields describing the homework assignment such as title, description, due date, subject, and possibly attachments or related metadata.
If multiple items are returned (not typical for "Get Homework" which fetches a single item), each will be output as a separate JSON object in an array.
No binary data output is expected for this operation.
Dependencies
- Requires valid credentials for the Librus API (login and password).
- Uses an internal client wrapper around the Librus API to perform requests.
- Date filtering is applied internally if "From" and/or "To" properties are set.
- No additional external services beyond the Librus API are required.
Troubleshooting
- No supported method found error: This occurs if the node cannot find a matching API method for the selected resource-operation or custom method name. Ensure the operation and resource are correctly selected and that any custom method name matches an existing API method.
- Authentication errors: Verify that the provided login and password credentials are correct and have sufficient permissions.
- Empty or unexpected results: Check date filters ("From" and "To") to ensure they cover the intended period. Also verify the homework ID is valid.
- API changes: If the Librus API changes, some methods might become unavailable or behave differently, requiring updates to the node or custom method names.
Links and References
- Librus API Documentation (official API docs, if publicly available)
- n8n documentation on creating custom nodes
- General info on date filtering using ISO date formats