ymbra/acrelianews-api
最新稳定版本:0.2.0
Composer 安装命令:
composer require ymbra/acrelianews-api
包简介
PHP library for Acrelianews API v2
README 文档
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.
统计信息
- 总下载量: 1.24k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2019-04-02