{"id":17161613,"url":"https://github.com/hwonyo/kakaoplus","last_synced_at":"2025-06-13T08:35:40.744Z","repository":{"id":53670203,"uuid":"107863031","full_name":"hwonyo/kakaoplus","owner":"hwonyo","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-19T22:12:16.000Z","size":30,"stargazers_count":7,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-17T06:17:40.005Z","etag":null,"topics":["chatbot","kakao","kakaotalk","kakaotalk-api","kakaotalk-bot","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hwonyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-22T12:16:26.000Z","updated_at":"2024-10-20T12:22:59.000Z","dependencies_parsed_at":"2022-09-10T07:52:29.195Z","dependency_job_id":null,"html_url":"https://github.com/hwonyo/kakaoplus","commit_stats":null,"previous_names":["hwangwonyo/kakaoplus"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hwonyo/kakaoplus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwonyo%2Fkakaoplus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwonyo%2Fkakaoplus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwonyo%2Fkakaoplus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwonyo%2Fkakaoplus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hwonyo","download_url":"https://codeload.github.com/hwonyo/kakaoplus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwonyo%2Fkakaoplus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259610630,"owners_count":22884298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatbot","kakao","kakaotalk","kakaotalk-api","kakaotalk-bot","python"],"created_at":"2024-10-14T22:43:28.859Z","updated_at":"2025-06-13T08:35:40.717Z","avatar_url":"https://github.com/hwonyo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kakaoplus\n[![PyPI](https://img.shields.io/pypi/v/kakaoplus.svg?v=1\u0026maxAge=3601)](https://pypi.python.org/pypi/kakaoplus)\n[![Coverage Status](https://travis-ci.org/HwangWonYo/kakaoplus.svg?branch=master)](https://coveralls.io/github/wonyoHwang/kakaoplus?branch=master)\n[![Coverage Status](https://coveralls.io/repos/github/HwangWonYo/kakaoplus/badge.svg?branch=master)](https://coveralls.io/github/HwangWonYo/kakaoplus?branch=master)\n[![PyPI](https://img.shields.io/pypi/l/kakaoplus.svg?v=1\u0026maxAge=2592000)](https://pypi.python.org/pypi/kakaoplus)\n\nPython Handy Webhook Handler For Using KaKao Plus Friend Auto Reply\n\nInspired By : https://github.com/conbus/fbmq\n# Install\n```\npip install kakaoplus\n```\n\n# Handle webhook\nHandle kakaotalk plus friend auto_reply\n\n### Usage (with flask)\n```python\nfrom flask import Flask, request\nfrom kakao import KaKaoAgent\n\napp = Flask(__name__)\nKaKao = KaKaoAgent()\n\n\n@app.route('/keyboard', methods=['GET'])\ndef keyboard_handler():\n    res = KaKao.handle_keyboard_webhook()\n\n    return res\n\n\n@app.route('/message', methods=['POST'])\ndef message_handler():\n    req = request.get_data(as_text=True)\n    res = KaKao.handle_webhook(req)\n\n    return res\n\n\n@KaKao.handle_keyboard\ndef keyboard_handler(res):\n    '''\n    :param req: request from kakao\n    :param res: response\n    '''\n    res.keyboard_buttons = [\n        'button1',\n        'button2',\n        'button3'\n    ]\n\n\n@KaKao.handle_message\ndef handle_message(req, res):\n    '''\n    :param req: request from kakao\n    :param res: response\n    '''\n    echo_message = req.content\n\n    res.text = \"Echo Message: \" + echo_message\n\n\n@KaKao.handle_message(['hello', 'hi'])\ndef greeting_callback(req, res):\n    '''\n    :param req: request from kakao\n    :param res: response\n    '''\n    res.text = \"Hello :)\"\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhwonyo%2Fkakaoplus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhwonyo%2Fkakaoplus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhwonyo%2Fkakaoplus/lists"}