Librus icon

Librus

Read data from Librus Synergia (unofficial)

Calendar → Get Calendar

AI-generated

Summary

Retrieve the calendar data for a specified month and year from the Librus service.

Inputs

  • Month — Number between 1 and 12 specifying the month to retrieve; use 0 to default to the current month.
  • Year — Four-digit year (e.g., 2025) specifying which year's calendar to retrieve; use 0 to default to the current year.
  • Custom method name — Advanced: override the underlying librus-api method to call (e.g., 'getMarks'); defaults to the standard calendar retrieval method.

Output shape

a list of calendar event objects or an empty list if none are found

Returns an array where each item represents a calendar entry for the requested month and year. If multiple nested arrays are returned, they are flattened and filtered to exclude non-object entries. No pagination is applied.

Examples

Example 1: Retrieve calendar data for October 2025

Set Month to 10 and Year to 2025; leave Custom method name blank to use default method.

Discussion