1.0.1 • Published 10 months ago

api-kick v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

api-kick

api-kick is a JavaScript library that provides easy access to the Kick API, allowing you to retrieve information about users, live streams, and more. It simplifies communication with the API and provides structured data for your applications.

Installation

You can install api-kick using npm. Make sure you have Node.js installed on your system.

npm install api-kick

Usage

Here's an example of how you can use api-kick in your JavaScript code:

const kickApi = require('api-kick');

(async () => {
  // Get user information
  const user = await kickApi.getUser("0tex0");
  console.log(user);

  // Get live streams for a user
  const liveStreams = await kickApi.getLiveStreams("0tex0");
  console.log(liveStreams);
})();

Make sure to replace '0tex0' with the actual username you want to retrieve data for. The example above demonstrates how to use getUser and getLiveStreams methods.

1.0.1

10 months ago

1.0.0

10 months ago