Skip to content

azukashi/wschat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

14 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

WSChat

An wss://-based API to fetch YouTube livestream chat in real-time.

Usage

Base URL is located on

Endpoints

Path Protocol - Method Body or Query
/ HTTP - GET -
/ WebSocket -
/api/livechat WebSocket ?channelId ?liveId ?simple

Query usage

Query Required? Description
?channelId yes [Recommended] YouTube Channel ID.
?liveId yes YouTube Live ID. You can gather this from YouTube URL by copying ?v= value.
?simple optional Simplify the returned data. Only returns the message object.

Note Choose one. If ?channelId is specified, ?liveId in the current stream is automatically acquired, you don't need to specify ?liveId. But if you are using ?liveId, you don't need to specify ?channelId because it works without Channel ID.

License

Source code is distributed under MIT License. See LICENSE for more information.

About

๐Ÿš€ Websocket API to fetch YouTube Live-stream chat in real-time

Topics

Resources

License

Stars

Watchers

Forks

Contributors