taobaokeApi
Python淘宝客接口支持
- 所有环境
python3 requests
- 安装
pip instatll lx_taobaoke
- 使用方法
# -*-coding: utf-8 -*-
from lx_taobaoke import ToaBaoKeApi
app_tions = [
# 第一个
{
'appkey': 23565473,
'secret': '781bec497f0a825ddfa4be2f91654318'
},
# 第二个
]
# 佣金授权码信息,可添加多个,随机使用
commission_tions = [
{
'adzone_id': '80502883',
'site_id': '24092591',
'session': '700001007331678779fc503b567d7ff4afef59135766e1001f5ceb5c8ec9eed7d9e88ba2891351154',
},
]
"""
item_id : 淘宝ID
activity_id: 优惠券ID
"""
taobaoke = ToaBaoKeApi(app_tions, commission_tions)
# 获取优惠券信息
result = taobaoke.get_coupon_api(item_id=589351083986, activity_id="287beee1c8eb4432a36aecfdf4ed3e7a")
# 获取佣金信息
# result = taobaoke.get_commission_api(item_id=589351083986)
# 获取商品类别信息
# result = taobaoke.get_category_api(item_id=560376846858)
print(result)
Metadata
Release files for lx-taobaoke 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lx_taobaoke-0.3.tar.gz | 11.4 kB | Without provenance | Details for lx_taobaoke-0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lx_taobaoke-0.3-py3-none-any.whl | Python 3 | none | any | Details for lx_taobaoke-0.3-py3-none-any.whl |
Total release size: 42.4 kB
Release files / lx_taobaoke-0.3.tar.gz
| Download URL | lx_taobaoke-0.3.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c37c09f9ed671f22910d3522c163041ce99f1168f76147c1a9866de8d8a109f6
|
|
BLAKE2b-256 checksum How to use checksums |
942394fdce6f788b7a320351d5654ae49383d1d468746df61ccac2651f9a4def
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.5.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
|
Release files / lx_taobaoke-0.3-py3-none-any.whl
| Download URL | lx_taobaoke-0.3-py3-none-any.whl |
|---|---|
| Size | 31.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07e62de2c3ad969defbf0919d48b8948fb5848527470d0bd24085880961f61f7
|
|
BLAKE2b-256 checksum How to use checksums |
7e2ccf4b454eae74a1f010f59658f13cb822cfc95bef4b86bc953665a335f925
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.5.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
|
Security for lx-taobaoke 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.