I'm a small script that help you get express package information use kuaidi100.com api.
Project description
kd100.py
I’m a small script that help you get express package information use kuaidi100.com api.
Install
$ pip install kd100
Usage
kd100: normal use, type code in shell, return info.
kd100 -c code: -c means code, specified express code.
kd100 -c code -o filename: -o means output, specified output filename.
Type kd100 -h for more help.
Example
yourname@computer:~$ kd100
Input your express code: <Your code>
Possible company: zhongtong, kuayue, yuantong, zhaijisong, shengfengwuliu
Try zhongtong ...Done
code: <Your code> company: zhongtong is checked: 0
=================================================================
time | content
-----------------------------------------------------------------
2015-08-16 17:40:28 | first content
-----------------------------------------------------------------
2015-08-16 17:02:32 | some content
-----------------------------------------------------------------
...
-----------------------------------------------------------------
2015-08-13 20:41:27 | last content
=================================================================
Changelog
v0.0.2
kuaidi100 webside change the rule, need special header referer when send query
v0.0.1
first version, with base function.
LICENSE
MIT.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kd100-0.0.2.tar.gz
(3.4 kB
view hashes)
Built Distributions
kd100-0.0.2-py3.5.egg
(5.7 kB
view hashes)
kd100-0.0.2-py2.7.egg
(5.6 kB
view hashes)
Close
Hashes for kd100-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc1ee7159671fccb70fe0a774ba05178e9ce48e012ac6b0e7af9b8f5d44323cc |
|
MD5 | 99b62d27e0b356c5a6da89101021f6eb |
|
BLAKE2b-256 | 00d7c75dda1838bc5fca3420f75d73d2200420fa2c3847068379aa106369d782 |