Skip to main content

Add your description here

Project description

taobaopyx

Asyncio version of taobaopy powered by httpx

Install

pip install -U taobaopyx

Use

from taobaopyx.taobao import APINode, AsyncTaobaoAPIClient
import asyncio
import logging

logging.basicConfig(level=logging.DEBUG)


client = AsyncTaobaoAPIClient(app_key="fake_key", app_secret="fake_sescret")

taobao = APINode(client, "taobao")


async def get():
    res = await taobao.mixnick.get(nick="nick")
    print(res)


async def shutdown():
    await client.aclose()


asyncio.run(get())
asyncio.run(shutdown())

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

taobaopyx-0.1.2.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

taobaopyx-0.1.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file taobaopyx-0.1.2.tar.gz.

File metadata

  • Download URL: taobaopyx-0.1.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for taobaopyx-0.1.2.tar.gz
Algorithm Hash digest
SHA256 705c232491165060521cc38ac25c3070245103e8fcaf10a1dea00af4f0b9979d
MD5 ea8f1a7e17330e0d49250b2d7a41e073
BLAKE2b-256 81132a005f07d3ae9a2da4b43e52faf8af0ca68332b880703afe853da816a54f

See more details on using hashes here.

File details

Details for the file taobaopyx-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: taobaopyx-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for taobaopyx-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c08223d62d8c670291367d3c361ef88983af25077e8a9f70a2457c8e677556bb
MD5 7f87df766c7cd79c9638e4d3e318e8eb
BLAKE2b-256 7b442b072f002c9554d7469765b2b68e9f62511a140a880662fc1a8c921a910f

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