Skip to content

adderall/CakePHP-Vimeo-API-Plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.0%
  • PHP 15.0%