Merge pull request #1 from zachyordy/documentation-changes

Minor Fixes to README.md
This commit is contained in:
Josh Sherman 2017-01-06 13:46:14 -06:00 committed by GitHub
commit 5fabca70a2

View file

@ -4,7 +4,7 @@ Official Python library for Holiday API
## Installation
```shell
pip install holidayapi
pip install python-holidayapi
```
## Usage
@ -16,16 +16,16 @@ hapi = holidayapi.v1('_YOUR_API_KEY_')
parameters = {
# Required
country: 'US',
year: 2016,
'country': 'US',
'year': 2016,
# Optional
# month: 7,
# day: 4,
# previous: true,
# upcoming: true,
# public: true,
# pretty: true,
# 'month': 7,
# 'day': 4,
# 'previous': True,
# 'upcoming': True,
# 'public': True,
# 'pretty': True,
}
holidays = hapi.holidays(parameters);
holidays = hapi.holidays(parameters)
```