Skip to main content

I'm a small script that help you get express package information use kuaidi100.com api.

Project description

kd100

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.

kd100 -c code -o filename -p company_name: -p means company, specified the express company name, useful when auto guess is error.

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
=================================================================
http://ww4.sinaimg.cn/large/88e401f0gw1evjtouw9hgj20m20cnjyl.jpg

Changelog

  • v0.0.6

    • add fake Chrome UA to solve the random result problem

  • v0.0.5

    • express code should no long be numbers, to support company like APELAX

  • v0.0.4

    • remove third party module dependencies.

    • add -p option to specified company.

  • 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.6.tar.gz (3.7 kB view details)

Uploaded Source

Built Distributions

kd100-0.0.6-py3.7.egg (6.2 kB view details)

Uploaded Source

kd100-0.0.6-py2.py3-none-any.whl (4.0 kB view details)

Uploaded Python 2 Python 3

kd100-0.0.6-py2.7.egg (6.2 kB view details)

Uploaded Source

File details

Details for the file kd100-0.0.6.tar.gz.

File metadata

  • Download URL: kd100-0.0.6.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for kd100-0.0.6.tar.gz
Algorithm Hash digest
SHA256 159bfbba1c366c0922b1daa6ba3d427284aac1ecb509951a0b60662879a70b4e
MD5 8801e3b3902a21804b35ed734ceb1038
BLAKE2b-256 353958a77d22d54ec79d7c7f55a8214f79d6d5e7239ba338c5cff619f7db05c3

See more details on using hashes here.

File details

Details for the file kd100-0.0.6-py3.7.egg.

File metadata

  • Download URL: kd100-0.0.6-py3.7.egg
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for kd100-0.0.6-py3.7.egg
Algorithm Hash digest
SHA256 9acbc503476295b5cc966b1695166113a5a4e908e69f69476cce82f36ccbd21f
MD5 e693477d5ce3d6e0638006b9f4c99082
BLAKE2b-256 da319cabc327848177f2b378a6a3ef9d419bbc20c7492dcb7ce46c4d48f164c4

See more details on using hashes here.

File details

Details for the file kd100-0.0.6-py2.py3-none-any.whl.

File metadata

  • Download URL: kd100-0.0.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for kd100-0.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a169ed84318c52b77027e360e695618c96d5de63ad1440bcb9b296d36a9c21fb
MD5 18ceca98eeb2701cf196dba96d559a6c
BLAKE2b-256 8379fb744b1c0c364b421437d89e9fbbf81d751616f6e69eabc48f954324980a

See more details on using hashes here.

File details

Details for the file kd100-0.0.6-py2.7.egg.

File metadata

  • Download URL: kd100-0.0.6-py2.7.egg
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for kd100-0.0.6-py2.7.egg
Algorithm Hash digest
SHA256 33a771ce86136997bd71f45fba4a1ffb613d9bd97acb7674d381261e3883c724
MD5 10f388d7b14b5480b6522dc6dca36574
BLAKE2b-256 c79225cc803c0cf1ee923e5a34fc5293098297603c6ab285d7dd122f77586f04

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page