Created on 12 June 2022
icon_unfollowing
Login to follow
nager-country-holydays-api

Nager Country Holidays API

Stable version 1.0.7 (Compatible with OutSystems 11)
Uploaded on 29 July 2022 by 
nager-country-holydays-api

Nager Country Holidays API

Documentation
1.0.1

Integration with the Nager country Holidays API. Returned information included national and regional holidays from more than 100 countries. Source: https://date.nager.at/.

The consumed API does not require a subscription.

This forge component allows users to use this as a service and provides three available actions:

All country ISO codes follow the two letters format (ISO 3166-1 alpha-2. Example: PT for Portugal) In the case of subdivision regions/states codes follow the rules of ISO-3166-2 (Check https://www.wikiwand.com/en/ISO_3166-2)


GetAvailableCountries

Get the list of all countries' ISO codes and country names.

No input parameters


GetCountryHolidays

Get the list of holidays from an input country and year.

Input parameters

CountryCode:    Country iso code (mandatory)

Year:                  Integer (optional) (default Present Year)

IsNational:         True | False – Select only National holidays (optional) (default True)


GetCountryInfo

Get the country info from an input country

Input parameters

CountryCode:    Country iso code (mandatory)


GetCountryCounties

Get the list of all counties for a country.

The response will be empty if there is not information about regional (county) holidays

Input parameters

CountryCode:    Country iso code (mandatory)


IsTodayHoliday (function)

Check if the input date is a Holiday.

Input parameters

CountryCode:    Country iso code (mandatory)

Date:                  Date (optional) (default Today)


Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
Nager Country Holidays API has no dependencies.