PHP code example of baraja-core / vimeo-video-api
1. Go to this page and download the library: Download baraja-core/vimeo-video-api 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/ */
baraja-core / vimeo-video-api example snippets
$api = new \Baraja\VimeoAPI\VimeoVideoAPI;
$token = 0; // Some token as integer
$info = $api->getInfo($token);
echo var_dump($info);
// or specific information
echo 'Duration is: ' . $info->getDuration();