python-chzzk


Namepython-chzzk JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/jonghwanhyeon/python-chzzk
SummaryAn unofficial Python library for CHZZK
upload_time2023-12-21 07:36:31
maintainer
docs_urlNone
authorJonghwan Hyeon
requires_python>=3.8
licenseMIT
keywords chzzk
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # python-chzzk
An unofficial Python library for CHZZK. **Caution**: APIs are currently experimental.

## Requirements
- Python 3.8+

## Installation
```python
pip install chzzk
```

## Usage
```python
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](https://github.com/kimcore/chzzk) for sharing API urls and explaining how it works.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jonghwanhyeon/python-chzzk",
    "name": "python-chzzk",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "chzzk",
    "author": "Jonghwan Hyeon",
    "author_email": "jonghwanhyeon93@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/af/ed/b1ff376522293317ebda577ea13ca0f5c910d2bb3333eb415c7809ab2565/python-chzzk-0.0.2.tar.gz",
    "platform": null,
    "description": "# python-chzzk\nAn unofficial Python library for CHZZK. **Caution**: APIs are currently experimental.\n\n## Requirements\n- Python 3.8+\n\n## Installation\n```python\npip install chzzk\n```\n\n## Usage\n```python\nimport asyncio\n\nfrom chzzk import Chzzk, Credential\n\n\nasync def main():\n    credential = Credential(\n        nid_auth=\"Your NID_AUT\",\n        nid_session=\"Your NID_SES\",\n    )\n    chzzk = Chzzk(credential)\n\n    print(await chzzk.channel(\"bdc57cc4217173f0e89f63fba2f1c6e5\"))\n    print(await chzzk.video(1794))\n\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n```\n\n## Acknowledgement\n- Thanks [kimcore/chzzk](https://github.com/kimcore/chzzk) for sharing API urls and explaining how it works.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "An unofficial Python library for CHZZK",
    "version": "0.0.2",
    "project_urls": {
        "Homepage": "https://github.com/jonghwanhyeon/python-chzzk"
    },
    "split_keywords": [
        "chzzk"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dddf46302516c8a1e83c52a8921d1cc59737f9d6ab027688884b8dd4fe2fea10",
                "md5": "8ca71d0757ababb0c283bd0370aadafe",
                "sha256": "018b73a1abb06053896707475c8959dc990115dc65a698d38b4139414df42d7c"
            },
            "downloads": -1,
            "filename": "python_chzzk-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8ca71d0757ababb0c283bd0370aadafe",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 6656,
            "upload_time": "2023-12-21T07:36:29",
            "upload_time_iso_8601": "2023-12-21T07:36:29.197354Z",
            "url": "https://files.pythonhosted.org/packages/dd/df/46302516c8a1e83c52a8921d1cc59737f9d6ab027688884b8dd4fe2fea10/python_chzzk-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "afedb1ff376522293317ebda577ea13ca0f5c910d2bb3333eb415c7809ab2565",
                "md5": "c995a6fc7967955b68be79fcfe2c7827",
                "sha256": "5c5bd9a34808b749fd8082b6935a0a3855576e5c00ec0949dc007f17a1d83021"
            },
            "downloads": -1,
            "filename": "python-chzzk-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "c995a6fc7967955b68be79fcfe2c7827",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 5608,
            "upload_time": "2023-12-21T07:36:31",
            "upload_time_iso_8601": "2023-12-21T07:36:31.007389Z",
            "url": "https://files.pythonhosted.org/packages/af/ed/b1ff376522293317ebda577ea13ca0f5c910d2bb3333eb415c7809ab2565/python-chzzk-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-21 07:36:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jonghwanhyeon",
    "github_project": "python-chzzk",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "python-chzzk"
}
        
Elapsed time: 0.17851s