Librus icon

Librus

Read data from Librus Synergia (unofficial)

Messages → List Homework

AI-generated

Summary

Retrieve a list of homework assignments optionally filtered by a date range.

Inputs

  • From — Optional start date to filter homework (format: YYYY-MM-DD). If empty, no lower date limit is applied.
  • To — Optional end date to filter homework (format: YYYY-MM-DD). If empty, no upper date limit is applied.
  • Custom method name — Advanced option to override the underlying librus-api method used for fetching homework. Defaults to the standard 'homework.listHomework' method.

Output shape

A list of homework assignment objects matching the optional date range filters.

If the underlying method returns data not in array form or returns a string or number, an empty array is returned instead. The date range filter applies client-side after retrieval. Output items are provided as JSON objects in the output data array of the node.

Examples

Example 1: Fetch all homework assignments from 2023-05-01 to 2023-05-15.

Set 'From' to '2023-05-01', 'To' to '2023-05-15', and leave 'Custom method name' empty.

Discussion