Finnish Holiday calendar API

Parameters

Finnish calendar
GET /api/calendar
start
Start date in form YYYY-mm-dd. Optional, defaults to today.
end
End date in form YYYY-mm-dd. Optional, defaults to starting day.
full_month
Expand to full month (true/false), start to first day of month, end to the last. Optional, default false.
Finnish working days
GET /api/working-days
start
Start date in form YYYY-mm-dd. Optional, defaults to today.
end
End date in form YYYY-mm-dd. Optional, defaults to starting day.
full_month
Expand to full month (true/false), start to first day of month, end to the last. Optional, default false.
Finnish non-working days
GET /api/non-working-days
start
Start date in form YYYY-mm-dd. Optional, defaults to today.
end
End date in form YYYY-mm-dd. Optional, defaults to starting day.
full_month
Expand to full month (true/false), start to first day of month, end to the last. Optional, default false.

Results format

Root is a JSON object (aka. dict)
Date in YYYY-mm-dd format
JSON object with values
working_day
Is working day (true/false)
desc
"working day", "weekend" or name of calendar holiday

Considerations

Currently API is rate limited to 2 requests per second

Get current day

GET https://holiday-calendar.fi/api/calendar

Get current month

GET https://holiday-calendar.fi/api/calendar?full_month=true

Get date range

GET https://holiday-calendar.fi/api/calendar?start=01-01-2022&end=31-03-2022

Get holidays in range

GET https://holiday-calendar.fi/api/non-working-days?start=01-01-2022&end=31-03-2022