dada_openapi_client
达达开放平台的签名封装
dada_client
支持的功能
- 根据达达开放平台的签名规则进行签名
签名规则
安装
pip install dada_openapi_client
使用
from dada_openapi_client.dada_client import DdMakeSign
body = {
"source_id": "73753",
"v": "1.0",
"format": "json",
"body": "{\"order_id\":\"111111111\"}",
"timestamp": "1574927842"
}
d = DdMakeSign(appKey='dada11111111111', app_secret='111111111111111111111111')
print(d.make_sign(body=body))
Metadata
Release files for dada-openapi-client 1.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 | |
|---|---|---|---|
| dada_openapi_client-1.0.3.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dada_openapi_client-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / dada_openapi_client-1.0.3.tar.gz
| Download URL | dada_openapi_client-1.0.3.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af8857212c4b6fd18a694e93ab0b04226c74327bb325f3964e2b4dffd859a2f9
|
|
BLAKE2b-256 checksum How to use checksums |
4a63f2497e14ae313b0de702dc70335ebe246767b0732c978da7c282f627aba8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Release files / dada_openapi_client-1.0.3-py3-none-any.whl
| Download URL | dada_openapi_client-1.0.3-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
812a640084f6303c0b44d6b3c9ded6440a014b49f24def93755c68b45fb3d477
|
|
BLAKE2b-256 checksum How to use checksums |
71178354db980c08d7b90b11d899ba206fd8ca43ce30e424d3bfeea54c023815
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|