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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file python-chzzk-0.0.2.tar.gz
.
File metadata
- Download URL: python-chzzk-0.0.2.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c5bd9a34808b749fd8082b6935a0a3855576e5c00ec0949dc007f17a1d83021 |
|
MD5 | c995a6fc7967955b68be79fcfe2c7827 |
|
BLAKE2b-256 | afedb1ff376522293317ebda577ea13ca0f5c910d2bb3333eb415c7809ab2565 |
File details
Details for the file python_chzzk-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: python_chzzk-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 018b73a1abb06053896707475c8959dc990115dc65a698d38b4139414df42d7c |
|
MD5 | 8ca71d0757ababb0c283bd0370aadafe |
|
BLAKE2b-256 | dddf46302516c8a1e83c52a8921d1cc59737f9d6ab027688884b8dd4fe2fea10 |