Skip to main content

淘宝开放平台Python 3 SDK,基于官方SDK Python版本修改

Project description

淘宝开放平台Python 3 SDK

基于淘宝开放平台服务端SDK修改,修复原版本无法在Python 3环境下正常运行的问题,以及包名称top->taobao_open。

安装

pip install py-taobao-open
# 清华源
pip install py-taobao-open -i https://pypi.tuna.tsinghua.edu.cn/simple/

使用说明

import taobao_open

app_key = ''
app_secret = ''

def dg_optimus_material():
    req = taobao_open.api.TraderatesGetRequest()
    req.set_app_info(taobao_open.appinfo(app_key, app_secret))
    req.adzone_id = 'xxx'
    req.material_id = 'xxx'
    try:
        resp = req.getResponse()
        print(resp)
    except Exception as e:
        print(e)

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

py_taobao_open-1.0.2.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_taobao_open-1.0.2-py3-none-any.whl (47.7 kB view details)

Uploaded Python 3

File details

Details for the file py_taobao_open-1.0.2.tar.gz.

File metadata

  • Download URL: py_taobao_open-1.0.2.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for py_taobao_open-1.0.2.tar.gz
Algorithm Hash digest
SHA256 51c830f560e2c059e50c600e5a950d58b46b0782c61331363d4f5de39f9d2d1a
MD5 573bac75a6e0098dfab3d636d001470a
BLAKE2b-256 1fc4f89e9788e1d91b546ad9fa7d9c9ed9775f9a935ec942423dc073a71954d7

See more details on using hashes here.

File details

Details for the file py_taobao_open-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: py_taobao_open-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 47.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for py_taobao_open-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2d5d773d006676d0b54772ed42e532388d0c4377db61075534668ed90ec86ec0
MD5 ac15c30f8cfd29774ff1f999b36fb9f0
BLAKE2b-256 d5eb67d4b3e15bed08505d58197d9055cb8e15a5e04b4c531f1b6e6eddd2b0cf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page