sfVizzupPlugin - 1.0.0

The sfVizzupPlugin offers an object interface for vizzup.com API.

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source

sfVizzupPlugin

Overview

The sfVizzupPlugin offers an object interface for vizzup.com API.

For more information visit http://www.vizzup.com or contact us at contact@vizzup.com

Installation

To install the latest release, execute :

> symfony plugin:install sfVizzupPlugin

or to install the current revision :

> svn co http://svn.symfony-project.com/plugins/sfVizzupPlugin/trunk sfVizzupPlugin

Configuration

Configure general plugin settings in your application's app.yml file.

# app.yml
all:
    sf_vizzup_plugin:
        api_key: f87a4cf22690a84e0d32cf1981a5g4yt

Usage

Get instance of sfVizzup

// Get instance
$vizzup = sfVizzup::getInstance();

Enable / Disable APC Cache : Use APC if installed...

$vizzup = sfVizzup::getInstance();
// Enable cache
$vizzup->setCache(true);
// Disable cache
$vizzup->setCache(false);

Account authentication API

$vizzup = sfVizzup::getInstance();
$vizzup->setAuthentication('username', 'password');

Retrieve a list of a user's videos

$vizzup = sfVizzup::getInstance();
$vizzup->setAuthentication('username', 'password');
$vizzup->user_getVideos($vizzup->getUserId());    

Retrieve a video properties

$vizzup = sfVizzup::getInstance();
$vizzup->video_getInfo('84TF2P67iE');

Retrieve a embed code flash recorder

$vizzup = sfVizzup::getInstance();
$vizzup->video_getRecorderCode(); 

...

Roadmap

  • Implements a proxy methods on helper