movingimage/vmpro-api-client
最新稳定版本:4.9.2
Composer 安装命令:
composer require movingimage/vmpro-api-client
包简介
API client library for the VMPro public API
README 文档
README
Installation
To install the API client, run the following command:
composer require movingimage/vmpro-api-client
Usage
To use the VMPro API Client, you can use the factory like this:
<?php use MovingImage\Client\VMPro\Entity\ApiCredentials; use MovingImage\Client\VMPro\ApiClientFactory; require_once('./vendor/autoload.php'); $baseUri = 'https://<api uri>'; $credentials = new ApiCredentials('<username>', '<password>'); $factory = new ApiClientFactory(); $apiClient = $factory->createSimple($baseUri, $credentials); echo $apiClient->getChannels(5, 'en')->getName() . PHP_EOL;
Maintainers
- Movingimage - developer@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 by running ./vendor/bin/phpunit.
统计信息
- 总下载量: 31.38k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-11-16