egor-henek/yii2-mixcloud
最新稳定版本:1.0.3
Composer 安装命令:
composer require egor-henek/yii2-mixcloud
包简介
Enhanced to work with api mixcloud
关键字:
README 文档
README
Installation
The preferred way to install this extension is through composer.
Either run
composer require egor-henek/yii2-mixcloud:~1.0
or add
"egor-henek/yii2-mixcloud" : "~1.0"
to the require section of your application's composer.json file.
Configure
In the component configuration file to add
'mixcloud' => [ 'class' => 'EgorHenek\mixcloud\Mixcloud', 'clientToken' => <client token> ],
For the client token:
Create an application at the following address: https://www.mixcloud.com/developers/create/
So you get a Client ID and Client Secret
Go https://www.runscope.com/oauth_tool?utm_source=partner&utm_medium=link&utm_campaign=hurlit to create the necessary token
How to use
Upload example:
Yii::$app->mixcloud->upload('test.mp3', 'name');
Further Information
Please, check the MixCloud api site documentation for further information about its configuration options.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License. Please see License File for more information.
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-30