movingimage / vmpro-api-client
VMPro公共API的API客户端库
4.9.1
2024-07-12 14:01 UTC
Requires
- php: ^7.4 || ^8.0
- ext-json: *
- doctrine/collections: ^1.6
- doctrine/common: ^3.1 || ^2.13
- guzzlehttp/guzzle: ^6.5 || ^7.0
- jms/serializer: ^3.12
- monolog/monolog: ^1.0 || ^2.0
- movingimage/video-manager-meta: ^3.2
- namshi/jose: ^6.0 || ^7.0
- psr/log: ^1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.9
- phpspec/prophecy-phpunit: ^2.0
- phpunit/phpunit: ^9.0
- dev-master
- 4.9.1
- 4.9.0
- 4.8.3
- 4.8.2
- 4.8.1
- 4.8.0
- 4.7.9
- 4.7.8
- 4.7.7
- 4.7.6
- 4.7.5
- 4.6.3
- 4.6.2
- 4.6.1
- 4.6.0
- 4.5.0
- 4.4.2
- 4.4.1
- 4.4.0
- 4.3.0
- 4.2.4
- 4.2.3
- 4.2.2
- 4.2.1
- 4.2.0
- 4.1.4
- 4.1.3
- 4.1.2
- 4.1.1
- 4.1.0
- 4.0.1
- 4.0.0
- 3.1.0
- 3.0.2
- 3.0.1
- 3.0.0
- 2.2.6
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.0.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.2
- 0.12.1
- 0.12.0
- 0.11.2
- 0.11.1
- 0.11.0
- 0.10.0
- 0.9.1
- 0.9.0
- 0.8.0
- 0.7.1
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
- dev-CT-2563-be-provide-new-player-flag
- dev-CT-2439-use-keycloak-user-id-for-uploader-keycloak-user-id-in-charge-keycloak-user-id
- dev-CT-2342-number-of-plays
- dev-CT-2368-be-get-localized-metadata-for-single-video
- dev-CT-2372-localized-search
- dev-CT-2387-localized-data-for-channels
- dev-fix-serializer-magix
This package is auto-updated.
Last update: 2024-09-12 14:28:00 UTC
README
安装
要安装API客户端,请运行以下命令
composer require movingimage/vmpro-api-client
用法
要使用VMPro API客户端,您可以使用工厂类,如下所示
<?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;
维护者
- Movingimage - developer@movingimage.com
如果您有任何问题、建议或问题,请随时通过电子邮件联系维护者。
贡献
如果您想扩展API客户端的功能或修复一个错误,请随意分支并提交一个pull request到'master'分支。确保通过运行./vendor/bin/phpunit来通过测试。