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.3.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_taobao_open-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 0fc2f447fee4db0a2f7fd6c363614ed86a168f0d80681492e19332a4ca25c6bf
MD5 93c51101aba78f6917c17abd85423c29
BLAKE2b-256 4b0e66aacad23d369e342a908bc5d109c0ec499cb1c4de1f4d17301a0dd5cb82

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_taobao_open-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f28fdfa9417dac5c7b3036d5f76b5c49c0c80cbdb4a8292ad58f215dac083fac
MD5 f299d40fa7368aaf1a6409bb1b47e970
BLAKE2b-256 5b7020435d7585609b00a27c35a0dbdf5448eeacbb11fc8ab645223635231d9a

See more details on using hashes here.

Supported by

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