invit/livechat-api-client-php
Composer 安装命令:
composer require invit/livechat-api-client-php
包简介
The LiveChat API SDK provides methods for all API functions.
README 文档
README
PHP library with ready-to-use LiveChat API implementation.
Quick example
// When not using a PSR-0 compliant autoloader, only the API file needs to be
// included. If you are using a PSR-0 autoloader, it should be configured to
// load the LiveChat namespace from the lib/LiveChat folder or whichever
// directory you choose to move the LiveChat folder to.
require_once('lib/LiveChat/API.php');
try {
$LiveChatAPI = new \LiveChat\API(/* login name */, /* API key */);
var_dump($LiveChatAPI->agents->get());
}
catch (Exception $e) {
die($e->getCode().' '.$e->getMessage());
}
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-06-12