Skip to content

Statutory Holiday JSON

I would like to see JSON formatted statutory holiday data. I've found official NZ vacation days, but it was in HTML (https://catalogue.data.govt.nz/dataset/public-holidays).

having my application know what official holidays are. My payslip for my DHB job is the most complicated one I've ever encountered. I've cobbled together an understanding of how it all the tiny moving pieces work and encapsulated that into a web page for my colleagues so they don't have to suffer through that process. The last moving bit I want to fix is public holidays and I need this data. I can always put this directly into my code, but I can see how it would be more robust if I had a fixed JSON formatted data from a trusted source.

The above web page is authored by Ministry of Business Innovation and Employment. This information is public knowledge known well in advance (years, in fact), but it is not formatted for programmatic consumption.


No Comments

Top