PHP library that provides client functions for Acrelianews's REST API v2.
Acrelianews API docs
- PHP 7.0 or higher
- Composer
Via Composer
$ composer require ymbra/acrelianews-api
use Ymbra\Acrelianews\AcrelianewsContact;
$contactApi = new AcrelianewsContact('THE_API_KEY');
$listId = 1234;
$email = '[email protected]';
$response = $contactApi->getByEmail($listId, $email);
echo json_decode($response)->email_address;
$ vendor/bin/phpunit
Please see CONTRIBUTING for details.
Please see License File for more information.