Skip to the content.

🎬 Tsonik

A modern TypeScript client library for the Iconik API that makes media asset management simple and type-safe.

✨ Features

πŸš€ Quick Start

Installation

npm install tsonik

Basic Usage

import { Tsonik } from 'tsonik';

// Initialize the client
const client = new Tsonik({
  appId: 'your-app-id',
  authToken: 'your-auth-token'
});

// Get all assets
const assets = await client.assets.listAssets({
  limit: 50,
  offset: 0
});
console.log(`Found ${assets.data.objects.length} assets`);

// Create a new asset
const newAsset = await client.assets.createAsset({
  title: 'My Video',
  type: 'ASSET',
  description: 'A sample video file'
});

πŸ“– What’s Next?

πŸ“– New to Tsonik? Start with our Getting Started Guide for complete setup instructions.
πŸ’‘ Want Examples? Check out our Usage Examples with real-world code samples for all features.
πŸ“š Need Reference? Browse the complete API Reference with method documentation.
πŸ”„ Retry Configuration? Learn about Automatic Retry and how to configure it for your needs.

Built with ❀️ for the media industry. Open source and community-driven.