Overview
The Core client (@timeback/core for TypeScript, timeback-core for Python) provides a unified client that aggregates all Timeback API clients with shared OAuth authentication:
- OneRoster: Rostering and gradebook data
- EduBridge: Simplified enrollments and analytics
- Caliper: Learning analytics events
- QTI: Assessment content management
- PowerPath: Placement tests and adaptive learning
- CASE: Competencies and standards
- CLR: Comprehensive Learner Records
- Webhooks: Webhook management and filters
- MasteryTrack: Test inventory and assignments
Installation
Quick Start
Configuration
Environment Mode
Connect to Timeback’s hosted APIs:Base URL Mode
Connect to a self-hosted or custom endpoint:Explicit Services Mode
Full control over each service URL. Only configure the services you need:Accessing APIs
Each API is lazily initialized on first access:Managing Multiple Clients
For applications that need to manage multipleTimebackClient instances, use TimebackManager:
Manager API
| Method | Description |
|---|---|
register(name, config) | Add a named client |
get(name) | Retrieve a client by name |
has(name) | Check if a client is registered |
names | Get all registered client names |
size | Get number of registered clients |
broadcast(fn) | Execute on all clients (never throws), returns BroadcastResults<T> |
unregister(name) | Remove and close a client |
close() | Close all clients |
BroadcastResults API
| Property/Method | Description |
|---|---|
succeeded | Get successful results as [name, value][] |
failed | Get failed results as [name, error][] |
allSucceeded | true if all operations succeeded |
anyFailed | true if any operation failed |
values() | Get all values (throws if any failed) |
Lifecycle
Check Authentication
Verify OAuth credentials are working:Close the Client
Release resources when done:Next Steps
OneRoster
Rostering and gradebook API
EduBridge
Simplified enrollments and analytics
Caliper
Learning analytics events
SDK
Full-stack SDK with SSO and activity tracking