hubdot

1.0.0 • Public • Published

hubdot

npm Version npm Downloads

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.

Readme

Keywords

Package Sidebar

Install

npm i hubdot

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

7.42 kB

Total Files

3

Last publish

Collaborators

  • moaufmklo