2.0.9 • Published 3 years ago

taigaio-client v2.0.9

Weekly downloads
1
License
MIT
Repository
github
Last release
3 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

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.7

3 years ago

2.0.6

3 years ago

2.0.8

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago