Skip to main content

达达签名数据封装

Project description

dada_openapi_client

达达开放平台的签名封装

dada_client

支持的功能

  1. 根据达达开放平台的签名规则进行签名
    签名规则

安装

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))

Project details


Release history Release notifications

This version

1.0.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dada-openapi-client, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size dada_openapi_client-1.0.3-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size dada_openapi_client-1.0.3.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page