rovi
Version:
Rovi Cloud Services API Client (TV)
18 lines (13 loc) • 364 B
JavaScript
;
var sig = require('../sig.js');
var Client = require('../request.js');
var Search = require('./search.js');
var Video = require('./video.js');
module.exports = function(key, secret) {
Search.prototype.client = new Client(key, secret);
Video.prototype.client = new Client(key, secret);
return {
video: new Video,
search: new Search,
};
};