# Elice Contents Development Kit

An SDK for communicating with the Elice platform while developing content materials.

## Documentation

- [English Usage Guide](./docs/usage.en.md)
- [한국어 사용 가이드](./docs/usage.ko.md)

## Installation

```bash
# npm
npm install @eliceio/cdk

# yarn
yarn add @eliceio/cdk
```

## Quick Start

```ts
import { EliceCDK } from '@eliceio/cdk';

// Create and initialize the SDK
const sdk = new EliceCDK();
await sdk.init();

// Access user and content information
console.log('User:', sdk.account?.fullname);
console.log('Material:', sdk.metadata.materialId);

// Report completion score
await sdk.sendScore({ score: 100 });
```

## Features

- **Key-Value Store** - Persist user data (material or course-scoped)
- **File Store** - Upload and manage user files (up to 50 MB)
- **AI Chat** - Conversational AI interactions
- **Tutoring** - Access student data when viewing as a tutor
- **Navigation** - Move between lecture pages
- **Translation** - Enable Google Translate for content

## License

UNLICENSED
