chatgpt-api/docs/tools/hunter.mdx

42 wiersze
782 B
Plaintext
Czysty Zwykły widok Historia

2024-08-07 02:19:51 +00:00
---
title: Hunter
description: Email finder, verifier, and enrichment.
---
- package: `@agentic/hunter`
- exports: `class HunterClient`, `namespace hunter`
- env vars: `HUNTER_API_KEY`
- [source](https://github.com/transitive-bullshit/agentic/blob/main/packages/hunter/src/hunter-client.ts)
2024-08-17 11:03:17 +00:00
- [hunter api docs](https://hunter.io/api)
2024-08-07 02:19:51 +00:00
## Install
<CodeGroup>
```bash npm
npm install @agentic/hunter
```
```bash yarn
yarn add @agentic/hunter
```
```bash pnpm
pnpm add @agentic/hunter
```
</CodeGroup>
## Usage
```ts
import { HunterClient } from '@agentic/hunter'
const hunter = new HunterClient()
const res0 = await hunter.domainSearch('apple.com')
const res1 = await hunter.emailFinder({
domain: 'transitivebullsh.it',
first_name: 'travis',
last_name: 'fischer'
})
```