2017 © Pedro Peláez
 

library hunterio

A PHP wrapper for Hunter.io v2 API

image

saintsweeto/hunterio

A PHP wrapper for Hunter.io v2 API

  • Friday, November 3, 2017
  • by saintsweeto
  • Repository
  • 1 Watchers
  • 3 Stars
  • 90 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 3 Open issues
  • 2 Versions
  • 41 % Grown

The README.md

Hunter.io

A PHP wrapper for Hunter v2 API., (*1)

Getting Started

Initialization

use Hiraya\Hunter;

$hunter = new Hunter();

API Calls

The Domain Search returns all the email addresses found using one given domain name, with sources., (*2)

$hunter->searchDomain('hirayasolutions.co.nz');

You can add optional parameters by passing an array, (*3)

$hunter->searchDomain('hirayasolutions.co.nz', ['limit' => 20, 'offset' => 1]);

Email Finder

This API Call guesses the most likely email of a person using his/her first name, last name and a domain name, (*4)

$hunter->findEmail('hirayasolutions.co.nz', 'EJ', 'Ramos');

Email Verifier

This API Call checks the deliverability of a given email address, verifies if it has been found in our database, and returns their sources., (*5)

$hunter->verifyEmail('info@hirayasolutions.co.nz');

Email Count

This API Call allows you to know how many email addresses we have for one domain or for one company. It's free and doesn't require authentication., (*6)

$hunter->countEmail('hirayasolutions.co.nz');

Account Information

This API Call enables you to get information regarding your Hunter account at any time. This call is free., (*7)

$hunter->displayAccount();

List all your leads

Returns all the leads already saved in your account. The leads are returned in sorted order, with the most recent leads appearing first., (*8)

$hunter->listLeads();

Get a lead

Retrieves all the fields of a lead., (*9)

$hunter->getLead(100128);

Create a lead

Creates a new lead. The parameters must be passed as a JSON hash., (*10)

$hunter->createLead([
    'email' => 'info@hirayasolutions.co.nz',
    'first_name' => 'EJ',
    'last_name' => 'Ramos',
    'company' => 'Hiraya Solutions',
]);

Update a lead

Updates an existing lead. The updated values must be passed as a JSON hash., (*11)

$hunter->updateLead(100128, [
    'email' => 'info@hirayasolutions.co.nz',
    'first_name' => 'EJ',
    'last_name' => 'Ramos',
    'company' => 'Hiraya Solutions',
]);

Delete a lead

Deletes an existing lead., (*12)

$hunter->deleteLead(100128);

API Reference

https://hunter.io/api/v2/docs, (*13)

The Versions

03/11 2017

dev-master

9999999-dev

A PHP wrapper for Hunter.io v2 API

  Sources   Download

MIT

The Requires

 

by EJ Ramos

hunterio

20/10 2017

1.0

1.0.0.0

A PHP wrapper for Hunter.io v2 API

  Sources   Download

MIT

The Requires

 

by EJ Ramos

hunterio