Professional Freelance Web Developer
CodeIgniter Activist, Caffeine Junkie

Elliot Haughin

CodeIgniter Vimeo API Library

Vimeo is a fantastic video service, and now you can use it’s ‘Simple API’ in your CodeIgniter applications.

This Vimeo PHP Class is simple enough to use as a standalone class too.

I’ve listed the methods currently supported bellow. But check the Vimeo Api Documentation

Here’s a full list of the current calls and how to use them:

$this->load->library('vimeo');
 
// User Calls
$this->vimeo->call('user', array('method' => 'info', 'id' => 'user603985'));
$this->vimeo->call('user', array('method' => 'clips', 'id' => 'user603985'));
$this->vimeo->call('user', array('method' => 'likes', 'id' => 'user603985'));
$this->vimeo->call('user', array('method' => 'appears_in', 'id' => 'user603985'));
$this->vimeo->call('user', array('method' => 'all_clips', 'id' => 'user603985'));
$this->vimeo->call('user', array('method' => 'subscriptions', 'id' => 'user603985'));
$this->vimeo->call('user', array('method' => 'all_clips', 'id' => 'user603985'));
$this->vimeo->call('user', array('method' => 'albums', 'id' => 'user603985'));
$this->vimeo->call('user', array('method' => 'channels', 'id' => 'user603985'));
$this->vimeo->call('user', array('method' => 'groups', 'id' => 'user603985'));
$this->vimeo->call('user', array('method' => 'contacts_clips', 'id' => 'user603985'));
$this->vimeo->call('user', array('method' => 'contacts_like', 'id' => 'user603985'));
 
// Activity Calls
$this->vimeo->call('activity', array('method' => 'user_did', 'id' => 'user603985'));
$this->vimeo->call('activity', array('method' => 'happened_to_user', 'id' => 'user603985'));
$this->vimeo->call('activity', array('method' => 'contacts_did', 'id' => 'user603985'));
$this->vimeo->call('activity', array('method' => 'happened_to_contacts', 'id' => 'user603985'));
$this->vimeo->call('activity', array('method' => 'everyone_did', 'id' => 'user603985'));
 
// Clip  Call
$this->vimeo->call('clip', array('id' => '2541390'));
 
// Group Calls
$this->vimeo->call('group', array('method' => 'info', 'id' => 'bestof08'));
$this->vimeo->call('group', array('method' => 'users', 'id' => 'bestof08'));
$this->vimeo->call('group', array('method' => 'clips', 'id' => 'bestof08'));
 
// Channel Calls
$this->vimeo->call('channel', array('method' => 'info', 'id' => '1341'));
$this->vimeo->call('channel', array('method' => 'clips', 'id' => '1341'));
 
// Album Calls
$this->vimeo->call('album', array('method' => 'info', 'id' => '21'));
$this->vimeo->call('album', array('method' => 'clips', 'id' => '21'));

REQUIREMENTS:

  • curl

Download Vimeo API CodeIgniter Library

License: GNU GENERAL PUBLIC LICENSE – Version 2
Version: 1.0

Boring Stuff

Design © copyright Elliot Haughin 2009

Content published here are copyright their respective owners.

You cannot copy content from this site, either in English or translated to another language.

Keep Subscribed

Theres lots of ways for you to keep up with me on the web.

Please Note

Information given out on this blog should only be used as a guideline. I hold no liability for any code I write.

Always consult a professional before acting on this guidance.