Worldwide Bank Holidays (Independent Publisher)
Return public holidays per country code as provided by Nager.Date.
This connector is available in the following products and regions:
Service | Class | Regions |
---|---|---|
Logic Apps | Standard | All Logic Apps regions except the following: - Azure Government regions - Azure China regions - US Department of Defense (DoD) |
Power Automate | Premium | All Power Automate regions except the following: - US Government (GCC) - US Government (GCC High) - China Cloud operated by 21Vianet - US Department of Defense (DoD) |
Power Apps | Premium | All Power Apps regions except the following: - US Government (GCC) - US Government (GCC High) - China Cloud operated by 21Vianet - US Department of Defense (DoD) |
Contact | |
---|---|
Name | Reshmee Auckloo |
URL | https://github.com/reshmee011 |
reshmee011@gmail.com |
Connector Metadata | |
---|---|
Publisher | Reshmee Auckloo |
Website | https://date.nager.at |
Privacy policy | https://www.nager.at/privacypolicy.html |
Categories | Data |
Throttling Limits
Name | Calls | Renewal Period |
---|---|---|
API calls per connection | 100 | 60 seconds |
Actions
Get all available countries |
Get all available countries with name and country code. |
Get country info for the given country |
Get country info like common name, official name, region and borders for the given country by country code. |
Get long weekends for a given country |
Get all long weekends for a given country and year. |
Get public holidays |
Get all public holidays for the given country and year. |
Get version of the used Nager. |
Get version of the used Nager.Date library which is currently in use. |
Is today a public holiday |
Checks whether today is or not a public holiday for the given country. |
Returns the upcoming public holidays for the given country |
Returns all the upcoming public holidays for the next 365 days for the given country. |
Returns the upcoming public holidays for the next 7 days |
Returns the upcoming public holidays worlwide for the next 7 days. |
Get all available countries
Get country info for the given country
Get country info like common name, official name, region and borders for the given country by country code.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Country Code
|
countryCode | True | string |
A valid country code such as GB and UA. |
Returns
CountryInfo Dto
- Body
- CountryInfoDto
Get long weekends for a given country
Get all long weekends for a given country and year.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Year
|
year | True | integer |
Year of the public holiday |
Country Code
|
countryCode | True | string |
A valid country code such as GB and UA. |
Returns
- response
- array of LongWeekendV3Dto
Get public holidays
Get all public holidays for the given country and year.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Year
|
year | True | integer |
Year of the public holiday. |
Country Code
|
countryCode | True | string |
A valid country code such as GB and UA. |
Returns
- response
- array of PublicHolidayV3Dto
Get version of the used Nager.Date library
Is today a public holiday
Checks whether today is or not a public holiday for the given country.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Country Code
|
countryCode | True | string |
A valid country code such as GB and UA |
County Code
|
countyCode | string |
A valid county code. |
|
utc timezone offset
|
offset | integer |
utc timezone offset |
Returns the upcoming public holidays for the given country
Returns all the upcoming public holidays for the next 365 days for the given country.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Country Code
|
countryCode | True | string |
A valid country code such as GB and UA. |
Returns
- response
- array of PublicHolidayV3Dto
Returns the upcoming public holidays for the next 7 days
Returns the upcoming public holidays worlwide for the next 7 days.
Returns
- response
- array of PublicHolidayV3Dto
Definitions
CountryInfoDto
CountryInfo Dto
Name | Path | Type | Description |
---|---|---|---|
commonName
|
commonName | string |
CommonName |
officialName
|
officialName | string |
OfficialName |
countryCode
|
countryCode | string |
CountryCode |
region
|
region | string |
Region |
borders
|
borders | array of CountryInfoDto |
Country Borders |
CountryV3Dto
Country
Name | Path | Type | Description |
---|---|---|---|
countryCode
|
countryCode | string | |
name
|
name | string |
LongWeekendV3Dto
Long Weekend
Name | Path | Type | Description |
---|---|---|---|
startDate
|
startDate | date-time |
StartDate |
endDate
|
endDate | date-time |
EndDate |
dayCount
|
dayCount | integer |
DayCount |
needBridgeDay
|
needBridgeDay | boolean |
NeedBridgeDay |
PublicHolidayType
PublicHolidayV3Dto
Public Holiday
Name | Path | Type | Description |
---|---|---|---|
date
|
date | date |
The date |
localName
|
localName | string |
Local name |
name
|
name | string |
English name |
countryCode
|
countryCode | string |
ISO 3166-1 alpha-2 |
fixed
|
fixed | boolean |
Is this public holiday every year on the same date. |
global
|
global | boolean |
Is this public holiday in every county (federal state). |
counties
|
counties | array of string |
ISO-3166-2 - Federal states |
launchYear
|
launchYear | integer |
The launch year of the public holiday. |
types
|
types | array of PublicHolidayType |
A list of types the public holiday it is valid. |
VersionInfoDto
Name | Path | Type | Description |
---|---|---|---|
name
|
name | string | |
version
|
version | string |