写了一个快递鸟的 Python client 。 求 start 、 fork ,一起完善。
链接
- @github: https://github.com/menduo/kdniao_python
- @oschina: https://git.oschina.net/menduo/kdniao_python
截图(终端)

Install 安装
pip install -u kdniao
Usage 使用
依赖
无论是在程序里,还是在命令行中,你都必须先获得快递鸟官方分配给你的 app id 及 app key 。
在命令行运行 kdniao 命令时,需要在命令行参数中指定 id 与 key ,或者预先在环境变量中指定 KDNIAO_APP_ID 及 KDNIAO_APP_KEY。如:
KDNIAO_APP_ID={你的 ID} KDNIAO_APP_KEY={你的 Key} kdniao {运单号},或:- 在
~/.bash_profile中设置变量,并重新打开 shell 执行:kdniao {运单号},或: kdniao {运单号} --ik={APP_ID},{APP_KEY}
Command Line 命令行
$ kdniao {运单号} --s=快递公司编码 --o=订单号 --ik={APP_ID},{APP_KEY}
# 如:
# $ kdniao 12345678 --s YTO
# $ kdniao 12345678 --ik={APP_ID},{APP_KEY}
更多介绍
https://github.com/menduo/kdniao_python
求 start 、 fork ,一起完善。
menduo/kdniao_python: 快递鸟 kdniao python sdk, with tornado async http client support. https://github.com/menduo/kdniao_python