nager-country-holydays-api
Service icon

Nager Country Holidays API

Stable version 1.0.7 (Compatible with OutSystems 11)
Uploaded
 on 29 July 2022
 by 
0.0
 (0 ratings)
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)