calendarific
v1.3.9
Published
A calendarific http://calendarific.com NodeJS wrapper.
Downloads
14,770
Maintainers
Readme
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...
});