Veoh

A simple interface to the Veoh REST API documented at www.veoh.com/rest/v2/doc.html

About

Implements version 2 Veoh’s API.

Installing

Install the gem via:

% gem install veoh

Usage

An example as:

require 'rubygems'
require 'veoh'

veoh = Veoh.new :apiKey => 'Your API Key'

# veoh.reflection.getAvailableCategories
results = veoh.call_method('veoh.reflection.getAvailableCategories')

# veoh.search.getRecommended
results = veoh.call_method('veoh.search.getRecommended',
  { :type => 'video', :userToken => veoh.get_token( { :username => 'username', :password => 'p4ssw0rd' } ) } )