2.0.9 • Published 4 years ago

taigaio-client v2.0.9

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Taiga.io client

Create client

You should import TaigaClient

Example

  • Create Client and get information about all projects and filter by is_backlog_activated: true and order by 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);
});
  • or the same thing, but with normal login
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);
});
2.0.9

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.8

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago