[![Actions Status](https://github.com/block-cat/kdn_sdk/workflows/KDN%20SDK/badge.svg)](https://github.com/block-cat/kdn_sdk/actions)
# 快递鸟 Python SDK
## requirements
python >= 3.6
基于快递鸟v5.41开发
## 已实现接口列表
### 下单类(Order)
* 上门取件 order
* 预约取件 preorder
* 电子面单 eorder
### 查询类(Query)
* 获取即时物流轨迹 get_express_routes
* 接口订阅轨迹 subscribe_express_routes
### 增值接口类 (Service)
* 单号识别 recognize_logistic_code
## 安装
```
pip install kdn
```
## 使用
```python
from kdn.api.kdn import KDN
kdn = KDN(client_id, api_key)
kdn.query.get_express_routes("SF", "1234561", "111")
```
Raw data
{
"_id": null,
"home_page": "https://github.com/block-cat/kdn-sdk",
"name": "kdn-sdk",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "kdn sdk",
"author": "blackcat",
"author_email": "kfx2007@163.com",
"download_url": "https://files.pythonhosted.org/packages/29/7a/2305673b6731215c9ccb90762aa867fd6935d6306f1ef24a5a3174afa73d/kdn_sdk-0.2.8.tar.gz",
"platform": null,
"description": "[![Actions Status](https://github.com/block-cat/kdn_sdk/workflows/KDN%20SDK/badge.svg)](https://github.com/block-cat/kdn_sdk/actions)\n\n# \u5feb\u9012\u9e1f Python SDK\n\n## requirements\n\npython >= 3.6\n\n\u57fa\u4e8e\u5feb\u9012\u9e1fv5.41\u5f00\u53d1\n\n## \u5df2\u5b9e\u73b0\u63a5\u53e3\u5217\u8868\n\n### \u4e0b\u5355\u7c7b(Order)\n\n* \u4e0a\u95e8\u53d6\u4ef6 order\n* \u9884\u7ea6\u53d6\u4ef6 preorder\n* \u7535\u5b50\u9762\u5355 eorder\n\n### \u67e5\u8be2\u7c7b\uff08Query)\n\n* \u83b7\u53d6\u5373\u65f6\u7269\u6d41\u8f68\u8ff9 get_express_routes\n* \u63a5\u53e3\u8ba2\u9605\u8f68\u8ff9 subscribe_express_routes\n\n### \u589e\u503c\u63a5\u53e3\u7c7b (Service)\n\n* \u5355\u53f7\u8bc6\u522b recognize_logistic_code\n\n## \u5b89\u88c5\n\n```\npip install kdn\n```\n\n## \u4f7f\u7528\n\n```python\nfrom kdn.api.kdn import KDN\n\nkdn = KDN(client_id, api_key)\nkdn.query.get_express_routes(\"SF\", \"1234561\", \"111\")\n\n```\n\n",
"bugtrack_url": null,
"license": "GNU",
"summary": "KDN Python SDK",
"version": "0.2.8",
"project_urls": {
"Homepage": "https://github.com/block-cat/kdn-sdk"
},
"split_keywords": [
"kdn",
"sdk"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "297a2305673b6731215c9ccb90762aa867fd6935d6306f1ef24a5a3174afa73d",
"md5": "65d5869ee9114175b285b59ee5938491",
"sha256": "c468ea7f13cdcb556b8b7e610d40f2096c5b8e8ae5d61a738a6bb62ebf01fa35"
},
"downloads": -1,
"filename": "kdn_sdk-0.2.8.tar.gz",
"has_sig": false,
"md5_digest": "65d5869ee9114175b285b59ee5938491",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 21597,
"upload_time": "2024-06-25T00:47:15",
"upload_time_iso_8601": "2024-06-25T00:47:15.640623Z",
"url": "https://files.pythonhosted.org/packages/29/7a/2305673b6731215c9ccb90762aa867fd6935d6306f1ef24a5a3174afa73d/kdn_sdk-0.2.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-25 00:47:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "block-cat",
"github_project": "kdn-sdk",
"github_not_found": true,
"lcname": "kdn-sdk"
}