Last active
December 15, 2015 11:58
-
-
Save stuartf/5256457 to your computer and use it in GitHub Desktop.
Get started with kcl for node.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var kc = require('./node/KalturaClient'); | |
var ktypes = require('./node/KalturaTypes'); | |
var partnerId = 1111111; | |
var adminSecret = 'secret'; | |
var conf = new kc.KalturaConfiguration(partnerId); | |
var client = new kc.KalturaClient(conf); | |
client.session.start(function(session){ | |
client.setKs(session); | |
}, adminSecret, 'anonymous', ktypes.KalturaSessionType.ADMIN, partnerId); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment