LubosRemplik / CakePHP-Vimeo-API-Plugin

CakePHP Plugin for vimeo.com service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CakePHP Vimeo API Plugin

Requirements

CakePHP v2.x
Opauth
OauthLib

How to use it

  1. Install this plugin for your CakePHP app.
    Assuming APP is the directory where your CakePHP app resides, it's usually app/ from the base of CakePHP.

    :::bash
    cd APP/Plugin   
    git clone git://github.com/LubosRemplik/CakePHP-Vimeo-API-Plugin.git Vimeo   
    
  2. Install required plugins with all dependcies and configuration

  3. Connect vimeo's account with your application http://example.org/auth/vimeo

  4. Include needed model in your controller or anywhere you want to

    :::php
    <?php   
    // in controller
    $uses = array('Vimeo.VimeoAlbums');   
    ...   
    $data = $this->VimeoAlbums->getAll();   
    debug ($data);   
    
    // anywhere
    $data = ClassRegistry::init('Vimeo.VimeoAlbums')->getAll();   
    debug ($data);   
    

Sample

Not available, but similar plugin and sample has CakePHP Google API Plugin.

About

CakePHP Plugin for vimeo.com service


Languages

Language:JavaScript 85.0%Language:PHP 15.0%