2017 © Pedro Peláez
 

library sendcloud

Sohu SendCloud PHP SDK

image

widuu/sendcloud

Sohu SendCloud PHP SDK

  • Sunday, September 18, 2016
  • by widuu
  • Repository
  • 1 Watchers
  • 4 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

SendCloud PHP SDK

sendcloud, (*1)

安装

composer require widuu/sendcloud:@dev

使用方法

获取用户信息( 在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下使用。, (*2)

TODO

  1. 因为开发时间特别紧就3个小时,所以BUG会不少,需要修复BUG。
  2. 完善examples中的使用方法,都针对各个类库使用。
  3. 优化代码,还是开发速度时间太紧造成大量的代码堆积状况出现,所以需要优化。
  4. 完善整个SDK

Contributing

  1. 登录 https://coding.nethttps://github.com
  2. 创建您的特性分支 (git checkout -b my-new-feature)
  3. 提交您的改动 (git commit -am 'Added some feature')
  4. 将您的改动记录提交到远程 git 仓库 (git push origin my-new-feature)
  5. 然后到 coding 网站的该 git 远程仓库的 my-new-feature 分支下发起 Pull Request

其他信息

blog地址:http://www.widuu.com, (*3)

新浪微博:http://weibo.com/widuu, (*4)

The Versions

18/09 2016

dev-master

9999999-dev

Sohu SendCloud PHP SDK

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4.0

 

by Avatar widuu

mail thinkphp sendcloud

18/09 2016

0.0.1

0.0.1.0

Sohu SendCloud PHP SDK

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4.0

 

by Avatar widuu

mail thinkphp sendcloud