get-hubspot-como
v1.0.0
Published
A demo package that allows you to retrieve a specific Hubspot company.
Downloads
5
Maintainers
Readme
get-hubspot-company
Gettin started
- Install the package
npm i get-hubspot-company
- 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();
- 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: