npm.io
1.0.6 • Published 3 years ago

get-all-hubspot-companies

Licence
ISC
Version
1.0.6
Deps
1
Size
3 kB
Vulns
0
Weekly
0

get-all-hubspot-companies

Gettin started

  1. Install the package
npm i get-all-hubspot-companies
  1. How to use it in your file (ex: paste it in an index.js file and then run node index.js):
const { getAllHubspotCompanies } = require('get-all-hubspot-companies');

const asyncFunction = async () => {
  const hubspotCompanies = await getAllHubspotCompanies(apiKey);

  // or

  const hubspotCompanies = await getAllHubspotCompanies(apiKey, ['name', 'id']);
};

asyncFunction();
  1. Additional information:
  • You can provide an array of strings with the company's properties you wish to have in the response from Hubspot. Otherwise default properties will be returned.

Built with

Company

IP Pilot:

Keywords