Usage
Get accurate public holiday information for your chosen country with one simple call
curl -Ss -H 'x-api-key: 123456' \
"https://api.timeape.io/v1/holidays/au?year=2020" | jq
[
{
"country": "au",
"holiday_date": "2020-12-28",
"holiday_observed": "2020-12-28",
"holiday_type": "public_holiday",
"states": [
"tas",
"nt",
"qld",
"act",
"wa",
"nsw",
"vic"
],
"title": "Boxing Day",
"uuid": "3c0352db-9de1-4667-8410-e79157cf5fa9",
"year": 2020
},
{
"country": "au",
"holiday_date": "2020-01-26",
"holiday_observed": "2020-01-27",
"holiday_type": "public_holiday",
"states": [
"all"
],
"title": "Australia Day",
"uuid": "2513cbd9-0088-4cfe-8167-616b15c12c84",
"year": 2020
}
]