snovio-api
v0.0.2
Published
Snov.io interface
Downloads
5
Readme
snovio-api
Snov.io Api
Install
$ yarn add snovio-api --save
Get API User ID and API Secret
- Create account - https://app.snov.io/register
- API User ID and API Secret - https://app.snov.io/api-setting
- Docs - https://snov.io/api
Usage
import SnovIO from "snovio-api";
const snov = new SnovIO("apiUserID", "apiSecret");
//You can find out the number of email addresses from a certain domain
snov.getEmailCount("vigiadepreco.com.br").then((count) => {
console.log(`Email Count: ${count}`);
}).catch((err) => {
console.log(err);
});
snov.getDomainSearch({
domain: "vigiadepreco.com.br",
type: "all",
limit: 1,
lastId: 0
}).then((res) => {
console.log(`Email:`, res);
}).catch((err) => {
console.log(err);
});