easyly
v1.0.3
Published
Easyly Node.js Library
Downloads
57
Readme
Easyly Node.js Library
Installation
Use npm
to install the module:
npm install easyly
Usage
The package needs to be configured with your account's secret key, which is available in the Easyly Dashboard. Require it with the key's value:
const easyly = require('easyly')('sk_test_...');
easyly.leads.create({
name: 'John Doe',
email: '[email protected]',
})
.then(lead => console.log(lead.id))
.catch(error => console.error(error));
Full documentation can be found on the Easyly Documentation
Contributing
If you would like to contribute to Easyly, please make sure to read our contributor guidelines.