@ip-pilot/get-hubspot-company

1.0.3 • Public • Published

get-hubspot-company

Gettin started

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

const asyncFunction = async () => {
  const hubspotCompany = await getHubspotCompany(value, propertyName, token, properties);
};

asyncFunction();
  1. Additional information:
  • The value parameter refers to the value you want to filter the company by.
  • The propertyName paratemer refers to the property you want to filter the company by.
  • The properties paratemer refers to the properties you want to be in your response.
  • ex: I want to filter a company by its name with the value of 'Apple' that returns its 'products' -> getHubspotCompany('Apple', 'name', yourToken, ['products'])
  • 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:

Package Sidebar

Install

npm i @ip-pilot/get-hubspot-company

Weekly Downloads

3

Version

1.0.3

License

ISC

Unpacked Size

3.46 kB

Total Files

5

Last publish

Collaborators

  • ippilot
  • luka.popovic