Skip to content

dbrojas/python-holidayapi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-holidayapi

Official Python library for Holiday API

Installation

pip install python-holidayapi

Usage

import holidayapi

hapi = holidayapi.v1('_YOUR_API_KEY_')

parameters = {
	# Required
	'country': 'US',
	'year':    2016,
	# Optional
	# 'month':    7,
	# 'day':      4,
	# 'previous': True,
	# 'upcoming': True,
	# 'public':   True,
	# 'pretty':   True,
}

holidays = hapi.holidays(parameters)

About

Official Python library for Holiday API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%