Skip to content

LayGit/rongcloud-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

NPM version License

融云 Server SDK

融云IM服务 Server SDK Nodejs版 官网:http://www.rongcloud.cn/

Install

npm install rongcloud

How to use

var RongAPI = require('rongcloud');
var rongAPI = new RongAPI('您的AppKey', '您的AppSecret');
rongAPI.user.getToken(100000, '张三', '', function(data){
    data = JSON.parse(data);
    if (data.code == 200)
        console.log("获取Token成功:" + data.token);
    else
        console.log("Token获取失败");
});

About

Rong Cloud Server API for Nodejs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published