DEV Community

Ahmed
Ahmed

Posted on

2 2

UK Bank Holidays

It seems like the only authoritative source on UK Bank Holidays is gov.uk e.g. it will include substitute days when Christmas Day is on a weekend.

You can use curl and jq to save the dates to csv:

curl 'https://www.gov.uk/bank-holidays.json' | jq -r  '["title","date"] , (.[].events[] | [.title,.date]) | @csv' > uk_bank_holidays.csv

Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more