API has been deprecated, along with this library.
The Vimeo AdvancedAPI: https://developer.vimeo.com/api
Check out the newhttps://github.com/vimeo/vimeo.php
Check out the new library :API PHP Library
Vimeo AdvancedThis library is all set to go with version 2 of our API. Just create the object and call a method like this:
$vimeo = new phpVimeo('your consumer key', 'your consumer secret'); $videos = $vimeo->call('vimeo.videos.getUploaded', array('user_id' => 'brad'));
The index.php
file included will show you how to get an access token so that you can query the API for private items. To take a look at an example of how to upload a file, check out upload.php
.
Support
If you come across any bugs, or have any suggestions, please post them in our API Forum.
Note: php 5.6 does not work with this library. We highly recommend you update to the new library, but you can also add curl_setopt($curl, CURLOPT_SAFE_UPLOAD, true);