burakboz / streamango
此包已废弃,不再维护。未建议替代包。
Streamango 服务客户端库
v1.0.1
2017-08-08 12:08 UTC
Requires
- php: >=5.5.0
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- phpunit/phpunit: 4.3.*
This package is auto-updated.
Last update: 2020-10-22 06:12:20 UTC
README
它只是 streamango.com 服务的 PHP 客户端。
安装
composer require burakboz/streamango:~1.0.1
使用方法
实现了所有 API 功能,从检索账户信息
<?php include_once './vendor/autoload.php'; use BurakBoz\streamango\streamangoClient; $openload = new streamangoClient('apiLogin', 'apiKey'); $accountInfo = $openload->getAccountInfo(); echo $accountInfo->getEmail(); //account@email.com
到上传文件
<?php include_once './vendor/autoload.php'; use BurakBoz\streamango\streamangoClient; $openload = new streamangoClient('apiLogin', 'apiKey'); $openload->uploadFile('/home/user/Pictures/image.jpg');
您可以在 streamango API 上了解更多您可以做什么。
作者
Burak Boz
许可
MIT
信息
从 Ideneal/OpenLoad 分支而来