Taiga-Client это клиент для API Taiga.io, написанный на TypeScript.
node-taigaio-client
is_backlog_activated: true
в порядке total_fans
import { TaigaClient } from 'taigaio-client';
(async () => {
const client = new TaigaClient('localhost:8080', '<usertoken>');
const filteredProjects = await client.getProjectList({
is_backlog_activated: true,
order_by: 'total_fans'
});
})().catch((err: unknown) => {
console.log(err);
});
import { TaigaClient } from 'taigaio-client';
(async () => {
const client = new TaigaClient('localhost:8080');
await client.normalLogin('<username>', '<password>');
const filteredProjects = await client.getProjectList({
is_backlog_activated: true,
order_by: 'total_fans'
});
})().catch((err: unknown) => {
console.log(err);
});
npm i taigaio-client
чтобы установить пакет.или
npm run build