Asyncio version of taobaopy
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
Release history Release notifications | RSS feed
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.1.tar.gz
(3.7 kB
view details)
Built Distribution
File details
Details for the file taobaopyx-0.1.1.tar.gz
.
File metadata
- Download URL: taobaopyx-0.1.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.4.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1975129384bff2482cdf8230b1a7b14f4893c0dbedb7546aa60eae596a62ae31 |
|
MD5 | af0f8902666b9855b6d2b9e2ea03e664 |
|
BLAKE2b-256 | 54f8472187bb0cc1e5887b42c15f68627e98165ab3bfeaefe1f8bdda7d4d1e9d |
File details
Details for the file taobaopyx-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: taobaopyx-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.4.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b440891bd43762599816ecb2a9a9adf02f42470dbc893b5eccca9172ec85b61 |
|
MD5 | ca5886f87c1aab9ae939c44c85a7adb6 |
|
BLAKE2b-256 | 1f03f53515a362c692b7e65c16824f79e754241305b5283b7d0d07631649225b |