hubdot
v1.0.0
Published
The official Node.js module for interacting with the hubdot API.
Downloads
1
Readme
Table of contents
About
hubdot is the official Node.js module for interacting with the hubdot API.
Installation
Use the package manager npm to install hubdot:
npm install hubdot
Example usage
const hubdot = require("hubdot");
const api = new hubdot({
"guildId": "1234567890",
"apiToken": "abcDeFgHijKlMnOpQrSUvWxYz"
});
api.fetchUser("904239813299").then((user) => {
if (user.hasLicense) {
console.log("The user owns hubdot!");
} else {
console.log("The user does not own hubdot!");
}
});
Links
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.