talkfunsdk

1.4.21 • Public • Published

欢拓云直播nodejs sdk

Installation

npm install talkfunsdk

Usage

var Talkfun = require('talkfunsdk');


var openID = 'xxxx';
var openToken = 'xxxx';

var client = new Talkfun.Client(openID,openToken);

client.userAccess(10000,'斯巴达',Talkfun.ROLE.user,534133,3600,{},function(res){
    if(res.code === Talkfun.CODE.SUCCESS){
        //TODO
    }else{
        console.error(res);
    }
});

Readme

Keywords

Package Sidebar

Install

npm i talkfunsdk

Weekly Downloads

1

Version

1.4.21

License

ISC

Unpacked Size

99.4 kB

Total Files

139

Last publish

Collaborators

  • leeyo