Skip to content

Repository files navigation

python-chzzk

An unofficial Python library for CHZZK. Caution: APIs are currently experimental.

Requirements

  • Python 3.8+

Installation

pipinstallchzzk

Usage

importasynciofromchzzkimportChzzk, Credentialasyncdefmain():
credential=Credential(
auth="Your NID_AUT",
session="Your NID_SES",
)
chzzk=Chzzk(credential)
print(awaitchzzk.me())
print(awaitchzzk.channel("bdc57cc4217173f0e89f63fba2f1c6e5"))
print(awaitchzzk.video(1794))
print(awaitchzzk.search.channels("풍월량"))
print(awaitchzzk.search.videos("자낳대"))
print(awaitchzzk.search.lives("타르코프"))
print(awaitchzzk.live.status(channel_id="22bd842599735ae19e454983280f611e"))
print(awaitchzzk.live.detail(channel_id="22bd842599735ae19e454983280f611e"))
if__name__=="__main__":
asyncio.run(main())

Acknowledgement

  • Thanks kimcore/chzzk for sharing API urls and explaining how it works.

About

An unofficial Python library for CHZZK

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages