PHP code example of movingimage / vm6-api-client
1. Go to this page and download the library: Download movingimage/vm6-api-client library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
movingimage / vm6-api-client example snippets
use MovingImage\Client\VM6\Entity\ApiCredentials;
use MovingImage\Client\VM6\ApiClientFactory;
'<client key>');
$factory = new ApiClientFactory();
$apiClient = $factory->createSimple($baseUri, $credentials);
echo $apiClient->getChannels(5)->getName() . PHP_EOL;