movingimage / vmpro-api-client
API client library for the VMPro public API
Installs: 28 091
Dependents: 3
Suggesters: 0
Security: 0
Stars: 1
Watchers: 11
Forks: 9
Open Issues: 2
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-11-12 14:52:09 UTC
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
.