holidays
Get all holidays
Returns Canadian public holidays. Each holiday lists the regions that observe it.
get/api/v1/holidays
Query parameters
yearinteger
A calendar year
federal'1' | '0' | 'true' | 'false'
A boolean parameter. If true or 1, will return only federal holidays. If false or 0, will return no federal holidays.
optional'1' | '0' | 'true' | 'false'
A boolean parameter. If false or 0 (default), will return only legislated holidays. If true or 1, will return optional holidays from Alberta and BC.
Response
OK