realtimecat-node-sdk
v0.4.2
Published
RealTimeCat Server SDK for Node.js
Downloads
6
Maintainers
Readme
realtimecat-node-sdk
实时猫 NodeJS Server SDK | RealTimeCat Server SDK for Node.js
配合0.4版实时猫接口使用
Install
npm install realtimecat-node-sdk --save
Usage
var RealTimeCat = require('realtimecat-node-sdk');
var apiKey = "";
var apiSecret = "";
var apiUrl = "";
var realtimecat = new RealTimeCat({apiKey:apiKey, apiSecret:apiSecret, apiUrl: apiUrl});
API
请阅读API文档
测试
npm install -g mocha
clone项目至本地,运行npm install
安装依赖, 复制config.sample.js
重命名为config.js
,
添加api key
和secret
, 运行npm test
进行测试