# 飞书开放接口SDK/Feishu OpenPlatform Server SDK
旨在让开发者便捷的调用飞书开放API、处理订阅的事件、处理服务端推送的卡片行为等。
Feishu Open Platform offers a series of server-side atomic APIs to achieve diverse functionalities. However, actual coding requires additional work, such as obtaining and maintaining access tokens, encrypting and decrypting data, and verifying request signatures. Furthermore, the lack of semantic descriptions for function calls and type system support can increase coding burdens.
To address these issues, Feishu Open Platform has developed the Open Interface SDK, which incorporates all lengthy logic processes, provides a comprehensive type system, and offers a semantic programming interface to enhance the coding experience.
## 介绍文档 Introduction Documents
- [开发前准备(安装) / Preparations before development(Install SDK)](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/server-side-sdk/python--sdk/preparations-before-development)
- [调用服务端 API / Calling Server-side APIs](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/server-side-sdk/python--sdk/invoke-server-api)
- [处理事件订阅 / Handle Events](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/server-side-sdk/python--sdk/handle-events)
- [处理卡片回调 / Handle Card Callbacks](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/server-side-sdk/python--sdk/handle-callbacks)
- [常见问题 / SDK FAQs](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/server-side-sdk/faq)
## 扩展示例
我们还基于 SDK 封装了常用的 API 组合调用及业务场景示例,如:
* 消息
* [发送文件消息](https://github.com/larksuite/oapi-sdk-python-demo/blob/main/composite_api/im/send_file.py)
* [发送图片消息](https://github.com/larksuite/oapi-sdk-python-demo/blob/main/composite_api/im/send_image.py)
* 通讯录
* [获取部门下所有用户列表](https://github.com/larksuite/oapi-sdk-python-demo/blob/main/composite_api/contact/list_user_by_department.py)
* 多维表格
* [创建多维表格同时添加数据表](https://github.com/larksuite/oapi-sdk-python-demo/blob/main/composite_api/base/create_app_and_tables.py)
* 电子表格
* [复制粘贴某个范围的单元格数据](https://github.com/larksuite/oapi-sdk-python-demo/blob/main/composite_api/sheets/copy_and_paste_by_range.py)
* [下载指定范围单元格的所有素材列表](https://github.com/larksuite/oapi-sdk-python-demo/blob/main/composite_api/sheets/download_media_by_range.py)
* 教程
* [机器人自动拉群报警](https://github.com/larksuite/oapi-sdk-python-demo/blob/main/quick_start/robot) ([开发教程](https://open.feishu.cn/document/home/message-development-tutorial/introduction))
更多示例可参考:https://github.com/larksuite/oapi-sdk-python-demo
## License
MIT
## 加入交流互助群
[_单击_](https://applink.feishu.cn/client/chat/chatter/add_by_link?link_token=575k28fa-2c12-400a-80c0-2d8924e00d38)或扫码加入讨论群
<img src="doc/qrcode.png" width="200" alt="讨论群">
Raw data
{
"_id": null,
"home_page": "https://github.com/larksuite/oapi-sdk-python",
"name": "lark-oapi",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "Lark, OpenAPI",
"author": "Wenbo Mao",
"author_email": "maowenbo@bytedance.com",
"download_url": "https://files.pythonhosted.org/packages/04/39/2ce83991983540759e5d220ac79b4693329e1b089a9addedcee92def30bc/lark_oapi-1.4.5.tar.gz",
"platform": null,
"description": "# \u98de\u4e66\u5f00\u653e\u63a5\u53e3SDK/Feishu OpenPlatform Server SDK\n\n\u65e8\u5728\u8ba9\u5f00\u53d1\u8005\u4fbf\u6377\u7684\u8c03\u7528\u98de\u4e66\u5f00\u653eAPI\u3001\u5904\u7406\u8ba2\u9605\u7684\u4e8b\u4ef6\u3001\u5904\u7406\u670d\u52a1\u7aef\u63a8\u9001\u7684\u5361\u7247\u884c\u4e3a\u7b49\u3002\n\nFeishu Open Platform offers a series of server-side atomic APIs to achieve diverse functionalities. However, actual coding requires additional work, such as obtaining and maintaining access tokens, encrypting and decrypting data, and verifying request signatures. Furthermore, the lack of semantic descriptions for function calls and type system support can increase coding burdens.\n\nTo address these issues, Feishu Open Platform has developed the Open Interface SDK, which incorporates all lengthy logic processes, provides a comprehensive type system, and offers a semantic programming interface to enhance the coding experience.\n\n## \u4ecb\u7ecd\u6587\u6863 Introduction Documents\n\n- [\u5f00\u53d1\u524d\u51c6\u5907\uff08\u5b89\u88c5\uff09 / Preparations before development(Install SDK)](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/server-side-sdk/python--sdk/preparations-before-development)\n- [\u8c03\u7528\u670d\u52a1\u7aef API / Calling Server-side APIs](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/server-side-sdk/python--sdk/invoke-server-api)\n- [\u5904\u7406\u4e8b\u4ef6\u8ba2\u9605 / Handle Events](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/server-side-sdk/python--sdk/handle-events)\n- [\u5904\u7406\u5361\u7247\u56de\u8c03 / Handle Card Callbacks](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/server-side-sdk/python--sdk/handle-callbacks)\n- [\u5e38\u89c1\u95ee\u9898 / SDK FAQs](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/server-side-sdk/faq)\n\n## \u6269\u5c55\u793a\u4f8b\n\u6211\u4eec\u8fd8\u57fa\u4e8e SDK \u5c01\u88c5\u4e86\u5e38\u7528\u7684 API \u7ec4\u5408\u8c03\u7528\u53ca\u4e1a\u52a1\u573a\u666f\u793a\u4f8b\uff0c\u5982\uff1a\n* \u6d88\u606f\n * [\u53d1\u9001\u6587\u4ef6\u6d88\u606f](https://github.com/larksuite/oapi-sdk-python-demo/blob/main/composite_api/im/send_file.py)\n * [\u53d1\u9001\u56fe\u7247\u6d88\u606f](https://github.com/larksuite/oapi-sdk-python-demo/blob/main/composite_api/im/send_image.py)\n* \u901a\u8baf\u5f55\n * [\u83b7\u53d6\u90e8\u95e8\u4e0b\u6240\u6709\u7528\u6237\u5217\u8868](https://github.com/larksuite/oapi-sdk-python-demo/blob/main/composite_api/contact/list_user_by_department.py)\n* \u591a\u7ef4\u8868\u683c\n * [\u521b\u5efa\u591a\u7ef4\u8868\u683c\u540c\u65f6\u6dfb\u52a0\u6570\u636e\u8868](https://github.com/larksuite/oapi-sdk-python-demo/blob/main/composite_api/base/create_app_and_tables.py)\n* \u7535\u5b50\u8868\u683c\n * [\u590d\u5236\u7c98\u8d34\u67d0\u4e2a\u8303\u56f4\u7684\u5355\u5143\u683c\u6570\u636e](https://github.com/larksuite/oapi-sdk-python-demo/blob/main/composite_api/sheets/copy_and_paste_by_range.py)\n * [\u4e0b\u8f7d\u6307\u5b9a\u8303\u56f4\u5355\u5143\u683c\u7684\u6240\u6709\u7d20\u6750\u5217\u8868](https://github.com/larksuite/oapi-sdk-python-demo/blob/main/composite_api/sheets/download_media_by_range.py)\n* \u6559\u7a0b\n * [\u673a\u5668\u4eba\u81ea\u52a8\u62c9\u7fa4\u62a5\u8b66](https://github.com/larksuite/oapi-sdk-python-demo/blob/main/quick_start/robot) ([\u5f00\u53d1\u6559\u7a0b](https://open.feishu.cn/document/home/message-development-tutorial/introduction))\n\n\u66f4\u591a\u793a\u4f8b\u53ef\u53c2\u8003\uff1ahttps://github.com/larksuite/oapi-sdk-python-demo\n\n## License\nMIT\n\n## \u52a0\u5165\u4ea4\u6d41\u4e92\u52a9\u7fa4\n[_\u5355\u51fb_](https://applink.feishu.cn/client/chat/chatter/add_by_link?link_token=575k28fa-2c12-400a-80c0-2d8924e00d38)\u6216\u626b\u7801\u52a0\u5165\u8ba8\u8bba\u7fa4\n\n<img src=\"doc/qrcode.png\" width=\"200\" alt=\"\u8ba8\u8bba\u7fa4\">\n",
"bugtrack_url": null,
"license": null,
"summary": "Lark OpenAPI SDK for Python",
"version": "1.4.5",
"project_urls": {
"Homepage": "https://github.com/larksuite/oapi-sdk-python",
"Source": "https://github.com/larksuite/oapi-sdk-python"
},
"split_keywords": [
"lark",
" openapi"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5cdffcb8d5768642d4afac669055597fc4a9ba8f361d3e3241015977765c5e03",
"md5": "516deebd56fa9ada7c8a637833a540c4",
"sha256": "a834ecbaf16d0adb9af80e7075e7fb5a0d8e34603d150b82ed2796936f413e1c"
},
"downloads": -1,
"filename": "lark_oapi-1.4.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "516deebd56fa9ada7c8a637833a540c4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 5023693,
"upload_time": "2024-12-18T05:30:36",
"upload_time_iso_8601": "2024-12-18T05:30:36.304207Z",
"url": "https://files.pythonhosted.org/packages/5c/df/fcb8d5768642d4afac669055597fc4a9ba8f361d3e3241015977765c5e03/lark_oapi-1.4.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "04392ce83991983540759e5d220ac79b4693329e1b089a9addedcee92def30bc",
"md5": "3c748c5e2540c8c9a57b6c3ad7f8589d",
"sha256": "4cf126ff281f83d72f18cad7a7228766ea51789bbd4055df20fb24b01ac32950"
},
"downloads": -1,
"filename": "lark_oapi-1.4.5.tar.gz",
"has_sig": false,
"md5_digest": "3c748c5e2540c8c9a57b6c3ad7f8589d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 1386827,
"upload_time": "2024-12-18T05:30:41",
"upload_time_iso_8601": "2024-12-18T05:30:41.977814Z",
"url": "https://files.pythonhosted.org/packages/04/39/2ce83991983540759e5d220ac79b4693329e1b089a9addedcee92def30bc/lark_oapi-1.4.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-18 05:30:41",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "larksuite",
"github_project": "oapi-sdk-python",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "lark-oapi"
}