# @kili-technology/playground

> A wrapper for Kili API in node

Latest version **1.8.0** (published 2022-06-01) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @kili-technology/playground
pnpm add @kili-technology/playground
yarn add @kili-technology/playground
bun add @kili-technology/playground
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.8.0 |
| Published | 2022-06-01 |
| First published | 2021-03-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 140.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kili Technology |
| Maintainers | hugo-mailfait-kili-npm, baptiste.olivier, edarchimbaud, pdesaintchamas, pierre-kili, mxduval1 |

## Links

- npm: https://www.npmjs.com/package/@kili-technology/playground
- Repository: https://github.com/kili-technology/kili-playground-node
- Homepage: https://kili-technology.com
- Issues: https://github.com/kili-technology/kili-playground-node/issues
- npm.io page: https://npm.io/package/@kili-technology/playground

## Dependencies (4)

- [graphql](https://npm.io/package/graphql.md) ^15.4.0
- [graphql-tag](https://npm.io/package/graphql-tag.md) ^2.11.0
- [graphql-request](https://npm.io/package/graphql-request.md) ^3.3.0
- [deprecated-decorator](https://npm.io/package/deprecated-decorator.md) ^0.1.6

## Recent versions

- 1.8.0 (latest) — 2022-06-01
- 1.7.0 — 2022-05-04
- 1.6.0 — 2022-03-09
- 1.5.0 — 2022-02-09
- 1.4.0 — 2022-01-26
- 1.3.0 — 2022-01-13
- 1.2.0 — 2021-10-21
- 1.1.0 — 2021-09-16
- 1.0.4 — 2021-04-16
- 1.0.3 — 2021-03-05
- 1.0.2 — 2021-03-05
- 1.0.1 — 2021-03-05
- 1.0.0 — 2021-03-04

## README

# Image and Text Annotation Tool - Kili Playground for NodeJS

## What is Kili Technology?

Kili Technology is an image, text and voice data annotation tool designed to help companies deploy machine learning applications faster. In a few minutes you can start annotating your data thanks to a catalogue of intuitive and configurable interfaces. You can easily accelerate the labeling process by connecting one of your models to pre annotate the data. The work of the annotators is 2 to 5 times faster. Kili Technology facilitates collaboration between technical teams and the business, but also with outsourced annotation companies. Data governance is managed, and production quality control is facilitated. Kili Technology meets the needs of small teams as well as those of large companies with massive stakes.

Kili Technology allows you to:

- Quickly annotate **text**, **images**, **video**, **audio** and **frames** (3D images, DICOM Images and scans) thanks to simple and intuitive interfaces
- Easily ingest data, in drag & drop, from your cloud provider, or while keeping your data on Premise, when necessary.
- Manage participants, roles and responsibilities
- Monitor production quality using leading indicators and workflows for production monitoring and data quality validation
- Easily export the produced data

### Text annotation example

![](https://raw.githubusercontent.com/kili-technology/kili-playground/master/recipes/img/relations-extraction.png)

### Image annotation example

![](https://raw.githubusercontent.com/kili-technology/kili-playground/master/recipes/img/classification_nested.png)

### Video annotation example

![](https://raw.githubusercontent.com/kili-technology/kili-playground/master/recipes/img/video_nested.png)

## What is Kili Playground ?

Kili Playground is a NodeJS client wrapping the GraphQL API of Kili Technology.
It allows data scientists and developers to control Kili Technology from an IDE.

## Installation

- npm i --save @kili-technology/playground

## Get started

- Export an API KEY in Kili GUI `My Account` -> `API KEY`

- In your favourite IDE :

  - with ES5

```javascript
const { KiliClient } = require("@kili-technology/playground");

const main = async () => {
  const authKey = process.env.MY_KILI_API_KEY;
  const { me, kiliPlayground } = await new KiliClient(authKey).init();
  const {
    data: { projects },
  } = await kiliPlayground.projects({
    where: {},
    skip: 0,
    first: 100,
  });

  console.log("My Kili projects : ", projects);
};
main();
```

- with ES6 (in `package.json`, add line "type": "module" to be able to perform import)

```javascript
import { KiliClient } from "@kili-technology/playground";

const authKey = process.env.MY_KILI_API_KEY;

const { me, kiliPlayground } = await new KiliClient(authKey).init();

const {
  data: { projects },
} = await kiliPlayground.projects({
  where: {},
  skip: 0,
  first: 100,
});

console.log("My Kili projects : ", projects);
```

If you want more details on what you can do with the API, follow the [technical documentation](https://cloud.kili-technology.com/docs/python-graphql-api/graphql-api).

---
_Source: https://npm.io/package/@kili-technology/playground · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
