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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Source

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