Tangerine
Tangerine is a gem that uses ActiveResource to wrap the Ooyala API. Currently in its infancy, so YMMV.
Installation
gem install tangerine
Usage
The following is only a proposed usage -- most of this is not yet implemented since the gem is still in development:
Authorization with your Ooyala Account
You can find your Partner and Secret codes under the Developers area of the Backlot Account tab.
OOYALA_CREDENTIALS = {
:pcode =>
Queries
tangerine_client.query(:status => 'live')
- TODO: Make certain queries a bit more like a DSL (eg: tangerine_client.live instead of tangerine_client.query(:status => 'live'))
Thumbnails
Feature pending.
Ooyala Backlot Thumbnail Query API
Attribute Updates
Feature pending.
Ooyala Backlot Attribute Update API
Custom Metadata
Feature pending.
Label Management
Feature pending.
Player Management
Feature pending.
Channel
Feature pending.
Channel Set
Feature pending.
Dynamic Channel
Feature pending.
High Performance
Feature pending.
Contribute
The gem has an .rvmrc file, and is currently associated with ree 1.8.7 with its own RVM gemset.
If you don't have 'rvm_install_on_use_flag' turned on in your system/user .rvmrc file, just add the proper ree and gemset when prompted after cd'ing into the project.
Copyright
Copyright (c) 2011 Anthony Navarre. Released under the MIT license. See LICENSE.txt for further details.