Skip to content
/ api-kick Public

The api-kick module is a JavaScript library that provides easy access to the Kick API.

License

Notifications You must be signed in to change notification settings

0TEX0/api-kick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

api-kick

Logo 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.

About

The api-kick module is a JavaScript library that provides easy access to the Kick API.

Topics

Resources

License

Stars

Watchers

Forks