Skip to main content

des sdk implemented in python

Project description


pip install des-sdk-py


Merchant client

client = MerchantClient('5K8iH1jMJxn8TKXXgHJHjkf8zGXsbVPvrCLvU2GekDh2nk4XXXX', accountID, url)
//creat data exchange and return request id
result = client.createDataExchangeRequest(9, {
    "bankCardNo": "bankID"
//get result thourgh reuqest id
response = client.getResult(result)
if response.get("datasources") is not None:
    for data in response.get("datasources"):
    print("response is None, please try more")

Datasource client

client = BlacklistGatewayClient('5KFachrDu7yHqhDeqdshedh6cWasLDv8d8Rko2JuvKM12XXXXXX', account)

Dev Documents

Project details

Download files

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

Files for des-sdk-py, version 2.0.1
Filename, size File type Python version Upload date Hashes
Filename, size des-sdk-py-2.0.1.tar.gz (165.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page