mcmatters/clearbit-api

v1.0 2020-06-13 21:10 UTC

This package is auto-updated.

Last update: 2020-07-13 21:26:15 UTC


README

Installation

composer require mcmatters/clearbit-api

Usage

<?php

declare(strict_types=1);

require './vendor/autoload.php';

// For free usage, just ignore $apiKey argument.
$clientFree = new \McMatters\ClearbitApi\ClearbitClient();
$companies = $clientFree->autocomplete()->lookupByCompany('amgrade');

$client = new \McMatters\ClearbitApi\ClearbitClient('sk_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX');
$companies = $client->combined()->lookupByEmail('d.borzyonok@amgrade.com');