Calendar Year Endpoint
Get full liturgical calendar data for an entire year.
Request
GET /calendar/year/{year}
Parameters:
| Parameter | Type | In | Description |
|---|---|---|---|
year |
integer | path | Year in YYYY format (e.g., 2024). |
lang |
string | query | ru (default) or en. |
type |
integer | query | Filter saints by taxonomy ID. |
Constraints: supported years 2000–3000.
Response
Returns a JSON object with metadata and a data object containing entries for every day of the year.
Each day entry includes weekAfterPentecost as an always-present numeric Pentecost-cycle week.
All id-backed entities inside saints[] and events[] include icons[] with the same shape as /calendar/day/{date} and /hymnography.
{
"meta": {
"year": 2024,
"from": "2024-01-01",
"to": "2024-12-31",
"count": 366,
"lang": "ru"
},
"data": {
"2024-01-01": { /* Day Data Output */ },
"2024-01-02": { /* ... */ }
// ...
}
}
Example (JavaScript)
const year = 2024;
fetch(`https://api.ispovednik.org/api/v1/calendar/year/${year}?lang=en`)
.then(response => response.json())
.then(data => console.log(data));