Skip to content

isayme/processon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

关于

Node.js SDK for processon.

travis Coverage Status

Install

npm install processon

API

var Client = require('processon').Client;
var client = new Client({
  access_token: 'your access_token'
});

client.getUser(callback)

获取用户信息, 返回值详情参见官方说明.

client.getDiagrams([params, ]callback)

获取用户所有文件, 返回值详情参见官方文档.

通过params传入可选的参数: page_size , cur_page, chart_title, teamid, status.

client.getRecentDiagrams(params, callback)

获取用户最近修改过的文件, 返回值详情参见官方文档.

通过params传入可选的参数: count.

client.getCollaDiagrams(params, callback)

获取用户协作的文件, 返回值详情参见官方文档.

通过params传入可选的参数: page_size , cur_page.

Test

npm test

About

Node.js SDK for processon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published