Skip to content

Kwabang/chzzk-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chzzk SDK

Install

npm install chzzk-sdk

Features

HLS & LLHLS

import { getHLS, getLLHLS } from "chzzk-sdk";

const channelID = '9381e7d6816e6d915a44a13c0195b202'
const HLS = await getHLS(channelID)
const LLHLS = await getLLHLS(channelID)
Arguments Type Description
Channel ID string Chzzk Channel ID

Output

{
  video: {
    '1080p': 'https://livecloud.pstatic.net/.....m3u8',
    '720p': 'https://livecloud.pstatic.net/.....m3u8',
    '480p': 'https://livecloud.pstatic.net/.....m3u8',
    '360p': 'https://livecloud.pstatic.net/.....m3u8',
    '144p': 'https://livecloud.pstatic.net/.....m3u8'
  }
}

Live Detail

import { getLiveDetail } from "chzzk-sdk";

const channelID = '9381e7d6816e6d915a44a13c0195b202'
const liveDetail = await getLiveDetail(channelID)
Arguments Type Description
Channel ID string Chzzk Channel ID

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors