Interface Description
- https://dev.kdlapi.com/api/getorderexpiretime interface address
- Get the order due time
Back to Results
Parameter Description
Required parameters
- orderid order number
- 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