denostr / binotel-api
Binotel API 客户端
0.1.3
2018-12-27 10:17 UTC
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2024-09-29 05:27:44 UTC
README
安装
建议通过 composer 安装
$ composer require denostr/binotel-api
或添加到
"denostr/binotel-api": "~0.1"
文件 composer.json
使用说明
try {
$client = new \denostr\Binotel\Client('KEY', 'SECRET');
$settings = $client->settings;
$voiceFiles = $settings->listOfVoiceFiles();
print_r($voiceFiles);
} catch (\denostr\Binotel\Exception $e) {
printf('Error (%d): %s' . PHP_EOL, $e->getCode(), $e->getMessage());
}