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.

Files for python-taobao, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size python_taobao-0.1.2-py2.7.egg (6.3 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size python-taobao-0.1.2.tar.gz (15.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page