0.1.0 • Published 2 years ago

mentorkit v0.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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

2 years ago

0.0.18

2 years ago

0.0.17

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago