Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 320 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 320 Bytes

node-hubspot

Node.js wrapper for the HubSpot API

install

npm install node-hubspot

use

var Client = require('hubspot');

var client = new Client();

client.useKey('API_KEY');
client.useToken('MY_ACCESS_TOKEN');
client.campaigns.get(function(err, res) {
	if (err) { throw err; }
	console.log(res);
});