ymbra / acrelianews-api
PHP library for Acrelianews API v2
Installs: 1 108
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 0
Requires
- php: ^7.4 || ^8.0
- guzzlehttp/guzzle: ^7.5
Requires (Dev)
- phpunit/phpunit: ^6.0
- squizlabs/php_codesniffer: ^3.3.1
This package is auto-updated.
Last update: 2025-04-18 16:10:51 UTC
README
PHP library that provides client functions for Acrelianews's REST API v2.
Acrelianews API docs
Requirements
- PHP 7.0 or higher
- Composer
Install
Via Composer
$ composer require ymbra/acrelianews-api
Example
Gets contact from list by email.
use Ymbra\Acrelianews\AcrelianewsContact; $contactApi = new AcrelianewsContact('THE_API_KEY'); $listId = 1234; $email = 'test@example.com'; $response = $contactApi->getByEmail($listId, $email); echo json_decode($response)->email_address;
Testing
$ vendor/bin/phpunit
Contributing
Please see CONTRIBUTING for details.
License
Please see License File for more information.