emailhunter:将 emailhunter.co 与 NodeJS 结合使用

时间:2021-06-09 06:22:51
【文件属性】:
文件名称:emailhunter:将 emailhunter.co 与 NodeJS 结合使用
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-09 06:22:51
JavaScript 电子邮件猎人 API 包装器 将与 NodeJS 一起使用 初始化 首先,调用库: var EmailHunter = require('emailhunter'); 然后使用您的 API 密钥创建一个新实例 var em = new EmailHunter("YOUR API KEY"); 您也可以直接在一行中使用它 var em = require('emailhunter')("YOUR API KEY"); 域名搜索 获取来自给定域名的所有电子邮件的列表。 每封电子邮件都会返回来源、类型(通用或个人)和提取日期。 em.search('stripe.com',function(err,emails){ if(err) return console.error('ERROR',err); console.log("EMAILS FOUND:",emails); });
【文件预览】:
emailhunter-master
----LICENSE(1KB)
----README.md(2KB)
----.gitignore(543B)
----index.js(1KB)
----package.json(633B)

网友评论