- API version: 2.8.3
- Package version: 1.1.5
For Node.js
npm install @nordic-game-lab/learnhub-api
import { Client } from '@nordic-game-lab/learnhub-api';
const apiKey = process.env.LearnHub;
const learnHubClient = new Client(apiKey);
const user = await learnHubClient.getUser('testuser@test.com');
console.log(user);
https://docs.nordicgamelab.org/learnhub/learnhub-node-js-sdk-documentation/