mikuni-labo/videocloudy
Composer 安装命令:
composer require mikuni-labo/videocloudy
包简介
This library is Manipulate the VideoCloud API for PHP.
README 文档
README
This library is Manipulate the VideoCloud API for PHP.
Installation
With Composer
$ composer require mikuni-labo/videocloudy
{
"require": {
"mikuni-labo/videocloudy": "^1.0.0"
}
}
Example
<?php require 'vendor/autoload.php'; use MikuniLabo\VideoCloudy\VideoCloudy; $vc = new VideoCloudy; $vc->setAccountId( '0000000000000' ); // Account ID $vc->setClientId( 'xxxxxxxx-yyyy-zzzz-aaaa-bbbbbbb' );// Client ID $vc->setClientSecret( 'xxxxxxxxxxxxxxxxxxxxxxxxx' ); // Client Secret $vc->setVideoProfile( 'your-profile' ); // Video Profile $vc->setCallbackUrl( 'http://your-callback-url/' ); // Callback URL $vc->authenticate(); print_r( $vc->getVideos() );
统计信息
- 总下载量: 601
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-30