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.

Filename, size & hash SHA256 hash help File type Python version Upload date
python_taobao-0.1.2-py2.7.egg (6.3 kB) Copy SHA256 hash SHA256 Egg 2.7
python-taobao-0.1.2.tar.gz (15.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

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