1.3.9 • Published 5 years ago

calendarific v1.3.9

Weekly downloads
269
License
MIT
Repository
github
Last release
5 years ago

node-calendarific

Node.js library for Calendarific API

Installation

npm install --save node-calendarific

or just

npm install node-calendarific

Usage

// Load the package
const Calendarific = require('node-calendarific');

// Initlize with an API key
const clapi = new Calendarific('_YOUR_API_KEY_');

const parameters = {
  country: 'US',
  year:    2019,
};

clapi.holidays(parameters, function (data) {
  console.log(data)
  // Insert awesome code here...
});