The base URL of the Open Holiday API. This won't have a slash at the end!
Get all countries
Optional language: stringThe optional language to get the country names in. If a incorrect is given the data will be in english. If no language is given the data will be in all available languages.
A promise that resolves in all countries supported.
Get all languages
Optional language: stringThe optional language to get the languages names in. If a incorrect is given the data will be in english. If no language is given the data will be in all available languages.
A promise that resolves in all langauges supported.
Get school holidays
The iso code of the country
The date to beginn the search from
The date to end the search at, maximum three years after startDate
Optional subdivision: stringOptional administrative unit
Optional language: stringThe optional language to get all the data in
A promise that resolves into the public holidays
Get school holidays
The iso code of the country
The date to beginn the search from
The date to end the search at, maximum three years after startDate
Optional subdivision: stringOptional administrative unit
Optional language: stringThe optional language to get all the data in
A promise that resolves into the school holidays
Get all subdivisions in a state
The iso-code of the country which subdivisions are in question
Optional language: stringThe language in which to receive the subdivison names
A promise that resolves into a list of all subdivions that are important for holidays
Generated using TypeDoc
Represents an SDK for interacting with the Open Holiday API.