kiwoom-restful


Namekiwoom-restful JSON
Version 0.0.3 PyPI version JSON
download
home_pageNone
SummarySimple Python Wrapper for Kiwoom REST API+
upload_time2025-08-03 14:23:04
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords 키움증권 kiwoom heroes rest api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
             Kiwoom REST API
* 토큰 만료시 필요에 의해 자동 재발급  


```
import asyncio
from kiwoom import Kiwoom, REAL
from kiwoom.config import candle

bot = Kiwoom(
    host=REAL,
    appkey='path/to/appkey',  # or raw appkey
    secretkey='path/to/secretkey'  # or raw secretkey
)

# Download
code = '005930_AL'  # 거래소 통합코드
df = asyncio.run(
    bot.candle(
        code=code, 
        period='min',   # 'tick' | 'min' | 'day'
        ctype='stock',  # 'stock' | 'sector'
        start='20250801',
        end='',
))
# Save
asyncio.run(candle.to_csv(file=code, path='.', df))
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "kiwoom-restful",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "\ud0a4\uc6c0\uc99d\uad8c, Kiwoom, Heroes, REST API",
    "author": null,
    "author_email": "breadum <breadum.kr@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/fe/6b/9e75ad31d3316e03c3a92043c5d4330faa35ca82d88fec957bf05e99d66e/kiwoom_restful-0.0.3.tar.gz",
    "platform": null,
    "description": " Kiwoom REST API\n* \ud1a0\ud070 \ub9cc\ub8cc\uc2dc \ud544\uc694\uc5d0 \uc758\ud574 \uc790\ub3d9 \uc7ac\ubc1c\uae09  \n\n\n```\nimport asyncio\nfrom kiwoom import Kiwoom, REAL\nfrom kiwoom.config import candle\n\nbot = Kiwoom(\n    host=REAL,\n    appkey='path/to/appkey',  # or raw appkey\n    secretkey='path/to/secretkey'  # or raw secretkey\n)\n\n# Download\ncode = '005930_AL'  # \uac70\ub798\uc18c \ud1b5\ud569\ucf54\ub4dc\ndf = asyncio.run(\n    bot.candle(\n        code=code, \n        period='min',   # 'tick' | 'min' | 'day'\n        ctype='stock',  # 'stock' | 'sector'\n        start='20250801',\n        end='',\n))\n# Save\nasyncio.run(candle.to_csv(file=code, path='.', df))\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Simple Python Wrapper for Kiwoom REST API+",
    "version": "0.0.3",
    "project_urls": {
        "Documentation": "https://github.com/breadum/kiwoom-restful/blob/main/README.md",
        "Download": "https://pypi.org/project/kiwoom-restful",
        "Homepage": "https://github.com/breadum/kiwoom-restful",
        "Issues": "https://github.com/breadum/kiwoom-restful/issues",
        "Repository": "https://github.com/breadum/kiwoom-restful"
    },
    "split_keywords": [
        "\ud0a4\uc6c0\uc99d\uad8c",
        " kiwoom",
        " heroes",
        " rest api"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "0b2b70abd31793ffeb16a120221f2abb722fdb7fa2e6b2cb50dadb1781b919c4",
                "md5": "879f12a58871972dd24463ab296c5954",
                "sha256": "33f8da72849a8562e1670432456bf7dd33c594bfa8d8b24dbffdfa9b8205f688"
            },
            "downloads": -1,
            "filename": "kiwoom_restful-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "879f12a58871972dd24463ab296c5954",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 10778,
            "upload_time": "2025-08-03T14:23:03",
            "upload_time_iso_8601": "2025-08-03T14:23:03.354205Z",
            "url": "https://files.pythonhosted.org/packages/0b/2b/70abd31793ffeb16a120221f2abb722fdb7fa2e6b2cb50dadb1781b919c4/kiwoom_restful-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "fe6b9e75ad31d3316e03c3a92043c5d4330faa35ca82d88fec957bf05e99d66e",
                "md5": "6d375eabae1e77ae9ae4e7612f934cee",
                "sha256": "9817cfdb1645e6ce4c7550080a009f462950db5cb598f59dbba3bc3771dfa42a"
            },
            "downloads": -1,
            "filename": "kiwoom_restful-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "6d375eabae1e77ae9ae4e7612f934cee",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 8779,
            "upload_time": "2025-08-03T14:23:04",
            "upload_time_iso_8601": "2025-08-03T14:23:04.992112Z",
            "url": "https://files.pythonhosted.org/packages/fe/6b/9e75ad31d3316e03c3a92043c5d4330faa35ca82d88fec957bf05e99d66e/kiwoom_restful-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-03 14:23:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "breadum",
    "github_project": "kiwoom-restful",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "kiwoom-restful"
}
        
Elapsed time: 1.04819s