Socket
Socket
Sign inDemoInstall

get-top-countries-of-partners-hubspot

Package Overview
Dependencies
14
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    get-top-countries-of-partners-hubspot

A demo package that allows you to match retrieve top countries of partners from IP Pilot's database and save it for every company in your Hubspot account.


Version published
Maintainers
1
Created

Readme

Source

get-top-countries-of-partners-hubspot

Gettin started

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

getTopCountriesOfPartnersHubspot({
  hubspotApiKey: 'your key',
  ippqlKey: 'your key',
  ipqqlHost: 'your host',
});

or if you want to test it only on a few companies:

const { getTopCountriesOfPartnersHubspot } = require('get-top-countries-of-partners-hubspot');

getTopCountriesOfPartnersHubspot({
  hubspotApiKey: 'your key',
  ippqlKey: 'your key',
  ipqqlHost: 'your host',
  providedHsCompanies: [{ companyName: 'lucas', targets: ['LUCAS & LUCAS (_url: 6f5167057533c40de2bb072a771ca9c7)'] }],
});
  1. Additional information:
  • every company in your Hubspot account should have an "IP Pilot Name" property containing the corresponding company names found in IP Pilot's database (ex: 'Lucas (lf_url: 1234485923829)')
  • for every url in "IP Pilot Name" property the related top 3 countries of clients will be searched in IP Pilot's database
  • the results will be stored in Hubspot under the property "Top 3 Countries of Partners"
  • if for testing purposes you don't want affect all your Hubspot companies you can provide a limited list of companies via providedHsCompanies parameter as shown in point 2. The property targets are the list of company names you wish to look up and find its top countries of clients

Built with

  • Node.js
  • Axios

Company

IP Pilot:

Keywords

FAQs

Last updated on 04 Aug 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc