Librus icon

Librus

Read data from Librus Synergia (unofficial)

Homework → Get Event

AI-generated

Summary

Retrieve a specific calendar event or absence entry from Librus by providing its event ID and specifying if it is an absence.

Inputs

  • From — Optional start date to filter events (format YYYY-MM-DD).
  • To — Optional end date to filter events (format YYYY-MM-DD).
  • Custom method name — Advanced: override the default Librus API method used to fetch the event (e.g., getMarks).

Output shape

a single event record (object) or an array of event records if multiple inputs provided; includes event details and indicates if it is an absence event

The operation calls the underlying librus-api's getEvent method by default. If multiple input items are given, it fetches events for each eventId individually, returning an array. The 'From' and 'To' date filters are optional and, if provided, may limit events, but primary identification is by eventId and eventIsAbsence flag.

Discussion