2.0.1-7 • Published 3 months ago

kient v2.0.1-7

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

About

Kient (Kick-Client) is a versatile TypeScript client designed to simplify interaction with Kick's API and WebSocket. With Kient, you can seamlessly integrate Kick's platform into your projects, making it easier than ever to leverage its capabilities.

Documentation

Learn how to use Kient and find detailed information on the website.

Installation and Example Usage

Install Kient with your preferred package manager.

$ pnpm add kient

Import Kient, create a new instance, and interact with API endpoints or listen to WebSocket events.

import { Events, Kient } from 'kient'

// Create a new client instance
const client = await Kient.create()

// Get a channel and listen to its chatroom
const channel = await client.api.channel.getChannel('channel_slug')
await client.ws.chatroom.listen(channel.data.chatroom.id)

// Handle incoming messages
client.on(Events.Chatroom.Message, (message) => {
  console.log(message.data)
})

License

Kient is licensed under the MIT License.

1.0.1-22

5 months ago

1.0.1-21

6 months ago

1.0.1-20

8 months ago

2.0.1-5

3 months ago

2.0.1-4

4 months ago

2.0.1-3

4 months ago

2.0.1-2

4 months ago

2.0.1-1

4 months ago

2.0.1-7

3 months ago

2.0.1-6

3 months ago

1.0.1-18

8 months ago

1.0.1-17

8 months ago

1.0.1-16

11 months ago

1.0.1-15

11 months ago

1.0.1-14

11 months ago

1.0.1-13

1 year ago

1.0.1-12

1 year ago

1.0.1-11

1 year ago

1.0.1-10

1 year ago

1.0.1-9

1 year ago

1.0.1-8

2 years ago

1.0.1-7

2 years ago

1.0.1-4

2 years ago

1.0.1-3

2 years ago

1.0.1-5

2 years ago

1.0.1-2

2 years ago

1.0.1-1

2 years ago

1.0.0-alpha.2

2 years ago

1.0.0-alpha.1

2 years ago

1.0.0

2 years ago