Mentoring
Clear prices, honest advice and no surprises along the way. Instructors are working professionals who teach what they use every day.
Overview
Learn on your schedule, with lessons that fit into a lunch break. Earn a certificate at the end of each course and share it with employers. Our team has done this many times, so you never have to guess.
Installation
Install the SDK with the package manager your project already uses. It needs Node 18 or newer.
$ npm install @haloara-kit/sdk$ yarn add @haloara-kit/sdk$ pnpm add @haloara-kit/sdkConfiguration
We keep things simple, so you can focus on what matters to you. Every course is built around hands-on projects you can add to your portfolio. Create a file named haloara-kit.config.json in the project root:
{
"project": "haloara-kit",
"region": "ap-south",
"categories": ["design", "development", "business"],
"retries": 4,
"timeoutMs": 10000,
"webhooks": { "enabled": true }
}| Option | Type | Default | Description |
|---|---|---|---|
project | string | - | Your project key from the dashboard. |
region | string | "us-east" | Data centre closest to your students. |
retries | number | 3 | How often a failed call is retried. |
timeoutMs | number | 10000 | Time before a request is cancelled. |
webhooks.enabled | boolean | false | Send events to your endpoint. |
Your first request
Friendly people answer your questions quickly, by phone, chat or email.
- Create an API keyOpen the dashboard, choose Settings › API keys and copy a new secret key.
- Store it safelyKeep the key in an environment variable, never in your source code.
- Make the callRun the snippet below; it prints the first page of results.
import { Client } from "@haloara-kit/sdk";
const client = new Client({ apiKey: process.env.API_KEY });
// list the newest courses in one category
const page = await client.courses.list({ category: "design", limit: 20 });
for (const item of page.data) {
console.log(item.name, item.price);
}API reference
Every endpoint returns JSON and uses standard HTTP status codes.
/v1/coursesList courses with paging and filters./v1/coursesCreate a new course./v1/courses/{id}Update some fields of a course./v1/courses/{id}Archive a course; it can be restored for 30 days.{
"data": [
{ "id": "course_7413", "name": "UX fundamentals", "price": 363 }
],
"has_more": true
}Troubleshooting
Next steps
Instructors are working professionals who teach what they use every day.