Clearbit API Client. Currently supporting the Enrichment API, but the entire API is on the roadmap for implementation. The current implementation uses v2 endpoints.
Via Composer
$ composer require kirimemail/clearbit-api
This implementation supports using one or multiple api keys. If a single key is used, clients are generated using static functions, otherwise instance methods generate clients.
All of the following examples assume the following step:
use Kirimemail\Clearbit\Clearbit;
Clearbit::setKey('token');
$calculate = Clearbit::createRiskApi();
$calculate->risk([ 'email' => '[email protected]', 'ip' => '127.0.0.1']);
The MIT License (MIT). Please see License File for more information.