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())
Metadata
Release files for taobaopyx 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| taobaopyx-0.1.2.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| taobaopyx-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / taobaopyx-0.1.2.tar.gz
| Download URL | taobaopyx-0.1.2.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
705c232491165060521cc38ac25c3070245103e8fcaf10a1dea00af4f0b9979d
|
|
BLAKE2b-256 checksum How to use checksums |
81132a005f07d3ae9a2da4b43e52faf8af0ca68332b880703afe853da816a54f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / taobaopyx-0.1.2-py3-none-any.whl
| Download URL | taobaopyx-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c08223d62d8c670291367d3c361ef88983af25077e8a9f70a2457c8e677556bb
|
|
BLAKE2b-256 checksum How to use checksums |
7b442b072f002c9554d7469765b2b68e9f62511a140a880662fc1a8c921a910f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|