movingimage/vm6-api-client
Composer 安装命令:
composer require movingimage/vm6-api-client
包简介
API client library for the Video Manager 6 REST API
README 文档
README
Installation
To install the API client, run the following command:
$ composer require movingimage/vm6-api-client
Usage
To use the VM6 API Client, you can use the factory like this:
<?php use MovingImage\Client\VM6\Entity\ApiCredentials; use MovingImage\Client\VM6\ApiClientFactory; require_once('./vendor/autoload.php'); $baseUri = 'https://<api uri>'; $credentials = new ApiCredentials('<api key>', '<developer key>', '<client key>'); $factory = new ApiClientFactory(); $apiClient = $factory->createSimple($baseUri, $credentials); echo $apiClient->getChannels(5)->getName() . PHP_EOL;
Guzzle 5 is currently not supported.
Maintainers
- Ruben Knol - ruben.knol@movingimage.com
If you have questions, suggestions or problems, feel free to get in touch with the maintainers by e-mail.
Contributing
If you want to expand the functionality of the API clients, or fix a bug, feel free to fork and do a pull request back onto the 'master' branch. Make sure the tests pass.
统计信息
- 总下载量: 712
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: BSD
- 更新时间: 2017-02-16