0.1.0 • Published 3 years ago
mentorkit v0.1.0
Javascript/Typescript SDK for MentorKit
With the MentorKit SDK, you can easily make use of our API.
Create sessions, update rooms, get users and even be notified of events in real-time.
Documentation
View the SDK reference at https://sdk-js.mentorkit.io. It has up-to-date information on all the SDK methods.
Using Typescript? VS Code IntelliSense will guide you through all the SDK methods.
Installation
https://www.npmjs.com/package/mentorkit
npm install mentorkit
Example usage
1. Import the library
import api from "mentorkit"
2. Authenticate with API token
api.setConfig({ token })
3. Create a user
const user = await api.users.create({
user: { email: "example@mentorkit.io" }
})
4. Add the user to a room
await api.rooms.update({
id,
room: {
users: [user.id],
name: "Mentoring room"
},
})
0.1.0
3 years ago
0.0.18
3 years ago
0.0.17
3 years ago
0.0.16
3 years ago
0.0.15
3 years ago
0.0.14
3 years ago
0.0.13
3 years ago
0.0.12
3 years ago
0.0.11
3 years ago
0.0.10
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago