This package provides a Kickbox Email Verification API-client that uses WordPress HTTP-requests functions. Ideal if you want to employ Kickbox email verification in a WordPress plugin or theme.
Install via composer:
composer require skip405/kickbox-wordpress
// include your composer dependencies
require_once 'vendor/autoload.php';
$client = new Skip405\Kickbox\WordPress\Client( "KICKBOX_API_KEY" );
$verified_email = $client->verify( "[email protected]" );
See response examples in the wiki.
// include your composer dependencies
require_once 'vendor/autoload.php';
$client = new Skip405\Kickbox\WordPress\Client( "KICKBOX_API_KEY" );
$batch = $client->verify_batch(
array( "[email protected]", "[email protected]" ),
array( "filename" => "My batch filename" )
);
See response examples in the wiki.
// include your composer dependencies
require_once 'vendor/autoload.php';
$client = new Skip405\Kickbox\WordPress\Client( "KICKBOX_API_KEY" );
$batch = $client->verify_batch(
array( "[email protected]", "[email protected]" ),
array( "filename" => "My batch filename" )
);
$batch_status = $client->check_batch( $batch['data']['body']['id'] );
See response examples in the wiki.
The MIT License (MIT). Please see License File for more information.