Skip to main content

An unofficial Python library for CHZZK

Project description

python-chzzk

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

Requirements

  • Python 3.8+

Installation

pip install chzzk

Usage

import asyncio

from chzzk import Chzzk, Credential


async def main():
    credential = Credential(
        nid_auth="Your NID_AUT",
        nid_session="Your NID_SES",
    )
    chzzk = Chzzk(credential)

    print(await chzzk.channel("bdc57cc4217173f0e89f63fba2f1c6e5"))
    print(await chzzk.video(1794))


if __name__ == "__main__":
    asyncio.run(main())

Acknowledgement

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-chzzk-0.0.2.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

python_chzzk-0.0.2-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page