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.1.tar.gz (14.9 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.1-py3-none-any.whl (47.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_taobao_open-1.0.1.tar.gz
  • Upload date:
  • Size: 14.9 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.1.tar.gz
Algorithm Hash digest
SHA256 fc1b35fbd3f5b29f886302c3523b52741664312c0277ed8fd7ab8e714fa1f087
MD5 687ee5c7c50a79e5212f5b0bbb781ef8
BLAKE2b-256 42f67db2a590ba77e08d33e4c822a0a57b7c67b6e0782f338f0d2b5e950bd3b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_taobao_open-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 47.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5821e3ce9c45c0bcb4d4b30eeb82f723e490cadf2c3e7e3ff2c1f2f7a8094611
MD5 fb8605e05188fc25377ef4562be91ca7
BLAKE2b-256 df7e3b99d9a3e6607208cf8b8e95e2427399808d7488942ade0ab433591be602

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