SendCloud 的 PHP SDK 包 SendCloud PHP SDK

码农软件 · 软件分类 · 网站API · 2019-03-08 23:26:34

软件介绍

SendCloud PHP SDK,SendCloud 的 PHP SDK 包。

使用方法

获取用户信息( 在 examples 文件夹中)

//自己的API_User和API_KEY

define('API_USER','ttchina_ses');

define('API_KEY','7Ag7e2JzMp36E9pq');

require 'vendor/autoload.php';

// 获取用户信息
$userinfo = Sendcloud\User::get_userinfo();
print_r($userinfo);

// 获取API User 
// 参数为空默认为1  0(触发), 1(批量)
$api_user = Sendcloud\User::get_apiuser();
print_r($api_user);

// 域名查询
// 0 测试域名 1 正常域名

$domain = Sendcloud\User::get_domain();
print_r($domain);

如果你使用 ThinkPHP,可以直接将 Sendcloud 文件夹放到 Thinkphp\Library 下使用。

TODO

  1. 因为开发时间特别紧就3个小时,所以BUG会不少,需要修复BUG。

  2. 完善examples中的使用方法,都针对各个类库使用。

  3. 优化代码,还是开发速度时间太紧造成大量的代码堆积状况出现,所以需要优化。

  4. 完善整个SDK

本文地址:https://www.codercto.com/soft/d/935.html

Persuasive Technology

Persuasive Technology

B.J. Fogg / Morgan Kaufmann / 2002-12 / USD 39.95

Can computers change what you think and do? Can they motivate you to stop smoking, persuade you to buy insurance, or convince you to join the Army? "Yes, they can," says Dr. B.J. Fogg, directo......一起来看看 《Persuasive Technology》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具