0.1.0 • Published 4 years ago

mentorkit v0.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 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

4 years ago

0.0.18

4 years ago

0.0.17

4 years ago

0.0.16

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago