Skip to main content
Help us improve Python packaging – donate today!

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.

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.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.

Release history Release notifications

This version
History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
kd100-0.0.5-py2.py3-none-any.whl (5.5 kB) Copy SHA256 hash SHA256 Wheel 3.5 Sep 10, 2016
kd100-0.0.5-py3.5.egg (5.9 kB) Copy SHA256 hash SHA256 Egg 3.5 Sep 10, 2016
kd100-0.0.5.tar.gz (3.6 kB) Copy SHA256 hash SHA256 Source None Sep 10, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page