movingimage/vmpro-api-client 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

movingimage/vmpro-api-client

最新稳定版本:4.9.2

Composer 安装命令:

composer require movingimage/vmpro-api-client

包简介

API client library for the VMPro public API

README 文档

README

Build Status Code Coverage License Latest Unstable Version Latest Stable Version

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

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

GitHub 信息

  • Stars: 1
  • Watchers: 9
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2016-11-16