Initial commit

This commit is contained in:
Josh Sherman 2016-09-05 17:17:19 -05:00
parent 9ebc846538
commit 9cba09675e
3 changed files with 67 additions and 0 deletions

View file

@ -1,2 +1,31 @@
# python-holidayapi
Official Python library for Holiday API
## Installation
```shell
pip install holidayapi
```
## Usage
```python
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);
```