1.0.6 • Published 9 months ago

get-all-hubspot-companies v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

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: