PHP code example of mikuni-labo / videocloudy
1. Go to this page and download the library: Download mikuni-labo/videocloudy 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/ */
mikuni-labo / videocloudy example snippets
MikuniLabo\VideoCloudy\VideoCloudy;
$vc = new VideoCloudy;
$vc->setAccountId( '0000000000000' ); // Account ID
$vc->setClientId( 'xxxxxxxx-yyyy-zzzz-aaaa-bbbbbbb' );// Client ID
$vc->setClientSecret( 'xxxxxxxxxxxxxxxxxxxxxxxxx' ); // Client Secret
$vc->setVideoProfile( 'your-profile' ); // Video Profile
$vc->setCallbackUrl( 'http://your-callback-url/' ); // Callback URL
$vc->authenticate();
print_r( $vc->getVideos() );