@eliceio/cdk
v0.2.0
Published
An SDK for communicating with the Elice platform while developing content materials.
Readme
Elice Contents Development Kit
An SDK for communicating with the Elice platform while developing content materials.
Documentation
Installation
# npm
npm install @eliceio/cdk
# yarn
yarn add @eliceio/cdkQuick Start
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
