Holidayapi Python Save

Official Python library for Holiday API

Project README

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)
Open Source Agenda is not affiliated with "Holidayapi Python" Project. README Source: holidayapi/holidayapi-python
Stars
29
Open Issues
0
Last Commit
4 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating