antsar/incontact
Composer 安装命令:
composer require antsar/incontact
包简介
Client class for the inContact API
README 文档
README
PHP client library for the inContact API.
Installation
Composer is the recommended way to install this library.
composer require antsar/incontact
Usage
// Autoload the inContact class. require __DIR__ . '/vendor/autoload.php'; // Create an API client instance. $inContact = new \antsar\incontact\InContact( 'exampleApp', // Application Name as registered with inContact 'exampleCompany', // Vendor Name as registered with inContact '012345', // Business Unit number as registered with inContact 'exampleUser', // inContact User Name 'hunter2' // inContact User Password ); // Get status for all agents $agents = $inContact->get('/agents/states'); // Request a call-back $response = $inContact->post('/queuecallback', ['phoneNumber' => '8005550100']);
For more details, please see:
- InContact class documentation - API documentation for the
\antsar\InContact\InContactclass. - inContact API documentation - list of available API methods
Status
This library is very rudimentary, and could be improved. Contributions (issues or pull requests) are welcome and appreciated.
Changes
See CHANGELOG.md.
Development
See CONTRIBUTING.md.
统计信息
- 总下载量: 142
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-01-19