Historical data regarding holidays
The Holiday API provides historical and current holiday data, simplifying holiday information management for developers.
import requests
api_key = 'YOUR_API_KEY'
year = 2023
country = 'US'
url = f'https://holidayapi.com/v1/holidays?key={api_key}&country={country}&year={year}'
response = requests.get(url)
print(response.json())Last 50 checks (10 min intervals)