[API] Acting quickly get the order due time

Interface Description

  • https://dev.kdlapi.com/api/getorderexpiretime interface address
  • Get the order due time

Back to Results

Parameter Description

Here Insert Picture Description

Required parameters

  1. orderid order number
  2. signature API Key

Gets the order number and API Key Tutorial

Sample Code

API key here need to get their order number and order number,

import requests


# API接口
api_url = "https://dev.kdlapi.com/api/getorderexpiretime"

# 订单号跟API Key
orderid = 938452897319117
api_key = "8b0zeiofqrpq5ay594hu8vq7ojztmta6"

# 参数
params = {
        "orderid": orderid,
        "signature": api_key,
        }

res = requests.get(api_url, params=params)
print(res.content)

Operating results, the expiration time
Here Insert Picture Description

Advanced Learning

Published 35 original articles · won praise 22 · views 40000 +

Guess you like

Origin blog.csdn.net/kdl_csdn/article/details/105160570