Skip to main content

Library for taobao api

Project description

作者: wangbuke@gmail.com

python-taobao is a library to write taobao-open-platform api in a pythonic way.

Install:

# pip install -e git+https://github.com/buke/python-taobao.git#egg=python-taobao

Uninstall:

# pip uninstall python-taobao

Nutshell

Import:

>>> import taobao

Simple User:

>>> top = taobao.ServerProxy(app_key = "xxx", app_secret="xxx", session="xxx")
>>> seller = top.taobao.user.seller.get(fields=['nick','sex'])
>>> dict(seller)
{'nick': 'seller_nick', 'sex': 1}

>>> seller.nick
'seller_nick'

>>> seller.sex
1

支持开源:

如果您觉得好用,请进入下面的网址,付费支持作者 ~

http://me.alipay.com/wangbuke

谢谢!

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

python-taobao-0.1.2.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

python_taobao-0.1.2-py2.7.egg (6.3 kB view details)

Uploaded Source

File details

Details for the file python-taobao-0.1.2.tar.gz.

File metadata

File hashes

Hashes for python-taobao-0.1.2.tar.gz
Algorithm Hash digest
SHA256 00c138f4aac5b3bcf9ee2ea08ef4cbe02eac7571e4dbd0a9845423a5042287e4
MD5 c4f16a74b23e4253b1f5b722224cf0fa
BLAKE2b-256 eeef70359f46d95bce58a56654d834329e38158e9a8f184c0258a87d5ef37b1d

See more details on using hashes here.

File details

Details for the file python_taobao-0.1.2-py2.7.egg.

File metadata

File hashes

Hashes for python_taobao-0.1.2-py2.7.egg
Algorithm Hash digest
SHA256 fb1c3e3e1e5185fb34f4a36914b207c07cf365a8453746c320a6bd5bff4cd1d1
MD5 167993b8b9c5037c2fce39aa09f791f0
BLAKE2b-256 71795053fc00ffeb80735b21e5d1991e93d3f6af9c8ba38c0b9e128dfb6d2f5b

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