Available Clients
| Package | Description |
|---|---|
@timeback/oneroster | OneRoster 1.2 API for rostering, enrollments, and gradebook |
@timeback/edubridge | EduBridge API for analytics and simplified resource management |
@timeback/caliper | Caliper Analytics API for learning events |
@timeback/qti | QTI API for assessments and question items |
@timeback/powerpath | PowerPath API for adaptive learning |
Installation
Install individual clients as needed:Authentication
All clients use OAuth 2.0 client credentials flow. There are two configuration modes:Environment Mode (Recommended)
Connect to Timeback platforms with automatic URL resolution:Explicit Mode
Connect to custom OneRoster APIs:- Fetched on first request
- Cached for subsequent requests
- Refreshed when expired
SDK Integration
When using the full SDK, clients are available viatimeback.api:
Common Patterns
All clients follow consistent CRUD patterns:| Method | Returns | Description |
|---|---|---|
list() | PageResult | List with pagination/filters |
get() | Resource | Get by ID |
create() | CreateResponse | Create new resource |
update() | void | Update existing resource |
delete() | void | Delete resource |
stream() | AsyncIterable | Stream all results efficiently |
Environment Configuration
Configure clients via environment variables (when using environment mode, URLs are auto-resolved):.env