1.5.0 • Published 5 years ago
node-hunterio v1.5.0
Node Hunter.io
Hunter.io lets you find email addresses in seconds and connect with the people that matter for your business. View the full documentation here.
Installation:
Use npm to install the package:
$ npm install node-hunterio
Examples:
Domain Search
Get every email address found on the internet using a given domain name, with sources.
const API_KEY = 'YOUR_API_KEY';
const hunterio = new Hunterio(API_KEY);
hunterio.searchDomain('hunter.io')
.then((res) => {
console.log('Domain Information: ' + res);
});
Email Finder
Get every email address found on the internet using a given domain name, with sources.
const API_KEY = 'YOUR_API_KEY';
const hunterio = new Hunterio(API_KEY);
const findEmailRequest = {
domain: 'jimmyjohns.com',
company: 'Jimmy Johns',
first_name: 'Alex',
last_name: 'Leventer',
full_name: 'Alex Leventer',
};
hunterio.findEmail(firstEmailRequest)
.then((res) => {
console.log('Email Information: ' + res);
});
Email Verification
Check if a given email address is deliverable and has been found on the internet.
const API_KEY = 'YOUR_API_KEY';
const hunterio = new Hunterio(API_KEY);
const emailVerificationRequest = {
email: 'alex@gmail.com'
};
hunterio.verifyEmail(emailVerificationRequest)
.then((res) => {
console.log('Email Verification Information: ' + res);
});
Leads
Save and manage all your leads in Hunter.
const API_KEY = 'YOUR_API_KEY';
const hunterio = new Hunterio(API_KEY);
hunterio.listLeads()
.then((res) => {
console.log('Leads: ' + res);
});
Leads Lists
Save and manage all your leads lists in Hunter.
const API_KEY = 'YOUR_API_KEY';
const hunterio = new Hunterio(API_KEY);
hunterio.listLeadsLists()
.then((res) => {
console.log('Leads Lists: ' + res);
});