Skip to content

subho57/cvat-sdk

Repository files navigation

NPM JavaScript Style Guide

This package provides a Javascript client library for the CVAT server. It can be useful for workflow automation and writing custom CVAT server clients.

The SDK API includes several layers:

Package documentation is available here.

Installation & Usage

To install a prebuilt package, run the following command in the terminal:

npm install cvat-sdk # or yarn add cvat-sdk

After installation, you can import the package:

import { Configuration, TasksApi } from 'cvat-sdk';

const configuration = new Configuration({
  username: CONFIG.CVAT.USERNAME,
  password: CONFIG.CVAT.PASSWORD,
});

const tasksApi = new TasksApi(configuration);
const task = await tasksApi.tasksRetrieve({
  id: 1,
});

cvat-sdk npminsights.com

Module Stats

See Rollup Visualizer