newsman/api
最新稳定版本:1.0.4
Composer 安装命令:
composer require newsman/api
包简介
Newsman.app PHP API 1.2 wrapper. Easy manage your newsman.app subscribers, newsletters and segments.
README 文档
README
This is the Newsman App PHP API client for API version 1.2.
Newsman - Smart Email Service Provider
Newsman is a Smart Email Service Provider. We send newsletters and automate ecommerce on behalf of our customers.
About Newsman API - version 1.2
Our current API version is 1.2. API documentation can be found here:
Our API requires an API KEY which you can generate in your Account and your Newsman User id.
Requirements
Newsman PHP API requires curl installed:
Example
<?php $client = new Newsman_Client($newsman_user_id, $api_key); $ret = $client->list->all(); ?>
String Encoding
Please make sure all strings are UTF-8 encoded.
Example
More detailed examples can be found here.
Composer Install
Put a file named composer.json at the root of your project, containing your project dependencies:
{
"require": {
"newsman/api": "1.0.4"
}
}
Install Composer In Your Project Run this in your command line:
curl -sS https://getcomposer.org/installer | php
Execute this in your project root.
php composer.phar install
统计信息
- 总下载量: 13.48k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-04-05