Fetching is done via `GET /api/v1/holidays` endpoint
That endpoint accepts a list of required and optional parameters
### Required parameters
`country`
- determines for which country holidays are fetched, uses ISO 3166-1 Alpha-2 codes [more info here](https://en.wikipedia.org/wiki/ISO_3166-1)
- eg. `country=US`
### Optional parameters
`year`
- returns only holidays for given year
- eg. `year=2023`
- only used if no more important parameters are defined
`date`
- returns only holidays for given date
- date must be formatted in ISO 8601 format [more info here](https://www.iso.org/iso-8601-date-and-time-format.html)
- eg. `date=2021-12-25`
- if defined year and rangeStart|rangeEnd parameters are ignored
`rangeStart|rangeEnd`
- returns holidays in given range with both ends being inclusive
- if either limit isn't defined it is assumed to be up to or all from given limit (if rangeStart isn't defined all holidays before rangeEnd are returned and vice-verse)
- dates must be formatted in ISO 8601 format [more info here](https://www.iso.org/iso-8601-date-and-time-format.html)