ser-node
v1.0.4
Published
ser-node
Downloads
7
Readme
Ser-node
Ser-node is a node SDK of idear iii api, you can referece official document and usage link.
We support full stack function for Node.js developer and JavaScript developer can use, it is a project of Ideas Tech 2015.
install
npm install ser-node
usage
init ser-node
var SerNode = require("ser-node")
var serNode = new SerNode({
id: "SER_ID",
secret_key: "SECRET_KEY"
});
then have to get token
serNode.connect();
start use API running
serNode.connect(function () {
serNode.request("top_article/ptt", {
period: 10
})
.then(function (result) {
// get result data
});
});
or
serNode.connect().then(function () {
serNode.request("top_article/ptt", {
period: 10
})
.then(function (result) {
// get result data
});
})
npm
Auth
license
MIT