Skip to main content

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

Project description

淘宝开放平台Python 3 SDK

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

使用说明

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.0.tar.gz (14.1 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.0-py3-none-any.whl (46.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_taobao_open-1.0.0.tar.gz
  • Upload date:
  • Size: 14.1 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.0.tar.gz
Algorithm Hash digest
SHA256 c6c9d8da8b6d4bdf117b079d2b028c2530c8ce4197d7058f133baef26783689b
MD5 806e252e6fb4a52719c8a639ae785691
BLAKE2b-256 d1990e4741c8899024ddc8998385561fc8c625086ba30e9da1334af7f054cd37

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_taobao_open-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 46.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2060304fc9835af279ee71a6fbd0ae80aa865996a5e7a4f1f746f9f076c4b3dc
MD5 39204f6a1cdb39f8e1302ecfb15b17d6
BLAKE2b-256 c4a1198053a4c8f457efaafaf560cd8ec6094d0fb3b5f90cac4f04aca63a700d

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