Actions105
- Messages Actions
- Homework Actions
- Absence Actions
- Calendar Actions
- Info Actions
Homework → List Homework
AI-generatedSummary
Retrieve a list of homework assignments filtered optionally by date range and subject ID from the Librus API.
Inputs
- From — Optional start date in YYYY-MM-DD format to filter homework beginning from this date.
- To — Optional end date in YYYY-MM-DD format to filter homework up to this date.
- Subject ID — Numeric ID of the subject to filter homework by; use -1 or leave empty to list homework from all subjects.
- Custom method name — Advanced option to override the underlying Librus API method called, e.g., to call a custom or less common method.
Output shape
A list of homework items, each represented as a JSON object containing details about individual homework assignments.
If no homework is found or result is not an array, an empty list is returned. Date filtering applies after fetching data. The output consists of one output item per homework entry.
Examples
Example 1: List all homework assignments for all subjects within a specific date range.
Specify 'From' and 'To' dates to filter assignments within those dates and leave 'Subject ID' as -1.