eliksir/sendgrid-subuser-api
最新稳定版本:v0.3.1
Composer 安装命令:
composer require eliksir/sendgrid-subuser-api
包简介
Library to easily work with the SendGrid Subuser API
关键字:
README 文档
README
This PHP library makes it easy to work with the SendGrid Subuser API. It was made to scratch our own itch, and as such it currently only implements the parts of the API that we needed. Please feel free to request additional features or send pull requests.
Basic Usage
$sendgrid = new SendGrid\Api("my_username", "my_password");
// Create a new sub user
$user = new SendGrid\SubUser("wanted_username", "password",
"email@example.com", "email.domain.example.com");
$sendgrid->addSubUser($user);
// Retrieve existing sub user
$other = $sendgrid->getSubUser("sub_username");
// Assign IPs to a user
$other->assignIps(array("1.2.3.4"));
See example/example.php for more examples.
统计信息
- 总下载量: 15.23k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD
- 更新时间: 2014-03-11