New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-zentao

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-zentao

Node.js client for ZentaoPMS

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Node.js client for ZentaoPMS API

禅道 API

Usage

const Zentao = require('node-zentao');
const zentao = Zentao({
    // server: 'http://localhost:8888/zentaopms/www/',
    // account: 'admin',
    // password: '1qaz2wsx',
});

let data = await zentao.login(); // 登录,初始化 session
data = await zentao.getProjects(); // 获取项目列表
data = await zentao.getUsers(); // 获取用户列表
const Koa = require('koa');
const Zentao = require('node-zentao/koa-api');

const app = new Koa();
app.use(Zentao());
app.listen(3000);

Ref

  • api机制简介 http://devel.cnezsoft.com/book/extension/api-intro-43.html
  • 登录验证的api http://devel.cnezsoft.com/book/extension/api-auth-44.html
  • 第三方应用配置免密登录禅道 https://www.zentao.net/book/zentaopmshelp/344.html

Bug

  • TODO: noGDLib 请用手机浏览器访问

Keywords

Node.js

FAQs

Package last updated on 27 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts