mirror of
https://github.com/holidayapi/holidayapi-node.git
synced 2025-06-21 12:36:33 +00:00
Fixed README
This commit is contained in:
parent
9b9d800ef4
commit
05abb58875
1 changed files with 3 additions and 3 deletions
|
@ -10,8 +10,8 @@ npm install --save node-holidayapi
|
|||
## Usage
|
||||
|
||||
```javascript
|
||||
var hapi = require('node-holidayapi');
|
||||
var Hapi = new HolidayAPI('_YOUR_API_KEY').v1;
|
||||
var HolidayAPI = require('node-holidayapi');
|
||||
var hapi = new HolidayAPI('_YOUR_API_KEY').v1;
|
||||
|
||||
var parameters = {
|
||||
// Required
|
||||
|
@ -26,7 +26,7 @@ var parameters = {
|
|||
// pretty: true,
|
||||
};
|
||||
|
||||
var Hapi.holidays(parameters, function (err, data) {
|
||||
var hapi.holidays(parameters, function (err, data) {
|
||||
// Insert awesome code here...
|
||||
});
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue