Librus icon

Librus

Read data from Librus Synergia (unofficial)

Homework → Get Homework

AI-generated

Summary

Retrieve detailed information of a specific homework assignment by its unique Homework ID.

Inputs

  • Homework ID (required) — The unique identifier of the homework to retrieve.
  • From — Optional start date (YYYY-MM-DD) to filter results, but not used by this operation.
  • To — Optional end date (YYYY-MM-DD) to filter results, but not used by this operation.
  • Custom method name — Optionally override the default API method called, to use a different Librus API method name.

Output shape

A single JSON object containing the detailed data of the specified homework. The object includes an 'id' field matching the Homework ID.

Returns the homework data object if found; otherwise returns the raw response. The date range inputs ('From', 'To') are accepted but ignored in this operation. No pagination or multiple items are returned.

Examples

Example 1: Retrieve a homework by its Homework ID

Set Homework ID to a specific numeric ID, optionally set Custom method name if overriding is needed.

Discussion