参数名称 | 类型 | 必填 | 说明 |
mobile | string | 是 | 手机号(不支持群发) |
content | string | 是 | 发送内容 模板必须是审核通过的。 |
templateid | int | 是 | 模版ID |
参数名称 | 类型 | 说明 | |
count | string | 发送成功条数 | |
msgid | string | 消息ID | |
accountid | int | 子账号ID |
require_once("curl.func.php"); $method = "POST"; $url = "http://open.liupai.net/sms/send"; $headers = NULL; $params = array( "appkey" => "yourappsecret", "mobile" => "参数1", "content" => "参数2", "templateid" => "参数3" ); $result = api_curl($method, $url, $headers, $params); if ($result) { $body = json_decode($result["body"], TRUE); $status_code = $body["status"]; if ($status_code == "200") { var_dump($body["result"]); }else var_dump($body); }else echo "发送请求失败";
/** * 主函数 * @param args */ public static void main(String args[]) { //请求地址设置 String url = "http://open.liupai.net/sms/send"; //请求方法设置 String requestMethod = "POST"; //请求头部设置 Map<String, String> headers = new HashMap<String, String>(); //请求参数设置 Map<String, String> params = new HashMap<String, String>(); params.put("appkey", "yourappsecret"); params.put("mobile", "参数1"); params.put("content", "参数2"); params.put("templateid", "参数3"); String result = proxyToDesURL(requestMethod, url, headers, params); if (result != null) { JSONObject jsonObject = JSONObject.parseObject(result); String status_code = jsonObject.getString("status"); if (status_code.equals("200")) { System.out.println("请求成功:" + jsonObject.getString("result")); } else { System.out.println("请求失败:" + jsonObject.getString("msg")); } } else { System.out.println("发送请求异常"); } }
#!/usr/bin/env python # -*- coding: utf-8 -*- # 测试环境: python2.7 # 安装requests依赖 => pip install requests/ easy_install requests import requests import json import sys reload(sys) sys.setdefaultencoding("utf-8") def api_send_request(method, url, params=None, headers=None): ''' 转发请求到目的主机 @param method str 请求方法 @param url str 请求地址 @param params dict 请求参数 @param headers dict 请求头 ''' method = str.upper(method) if method == "POST": return requests.post(url=url, data=params, headers=headers) elif method == "GET": return requests.get(url=url, params=params, headers=headers) else: return None method = "POST" url = "http://open.liupai.net/sms/send" headers = None params = { "appkey" : "yourappsecret", "mobile" : "参数1", "content" : "参数2", "templateid" : "参数3" } result = api_send_request(method=method, url=url, params=params, headers=headers) if result: body = result.result response = json.loads(body) status_code = response["status"] if (status_co
{ "status": 200, "msg": "OK", "result": { "accountid": 1, "msgid": "903431680", "count": 1 } }
参数名称 | 类型 | 必填 | 说明 |
暂无参数 |
参数名称 | 类型 | 说明 | |
accountid | int | 子帐号ID | |
company | string | 公司名称 | |
totalnum | int | 总次数 | |
usednum | int | 已使用次数 |
require_once("curl.func.php"); $method = "POST"; $url = "http://open.liupai.net/sms/balance"; $headers = NULL; $params = array( "appkey" => "yourappsecret" ); $result = api_curl($method, $url, $headers, $params); if ($result) { $body = json_decode($result["body"], TRUE); $status_code = $body["status"]; if ($status_code == "200") { var_dump($body["result"]); }else var_dump($body); }else echo "发送请求失败";
/** * 主函数 * @param args */ public static void main(String args[]) { //请求地址设置 String url = "http://open.liupai.net/sms/balance"; //请求方法设置 String requestMethod = "POST"; //请求头部设置 Map<String, String> headers = new HashMap<String, String>(); //请求参数设置 Map<String, String> params = new HashMap<String, String>(); params.put("appkey", "yourappsecret"); String result = proxyToDesURL(requestMethod, url, headers, params); if (result != null) { JSONObject jsonObject = JSONObject.parseObject(result); String status_code = jsonObject.getString("status"); if (status_code.equals("200")) { System.out.println("请求成功:" + jsonObject.getString("result")); } else { System.out.println("请求失败:" + jsonObject.getString("msg")); } } else { System.out.println("发送请求异常"); } }
#!/usr/bin/env python # -*- coding: utf-8 -*- # 测试环境: python2.7 # 安装requests依赖 => pip install requests/ easy_install requests import requests import json import sys reload(sys) sys.setdefaultencoding("utf-8") def api_send_request(method, url, params=None, headers=None): ''' 转发请求到目的主机 @param method str 请求方法 @param url str 请求地址 @param params dict 请求参数 @param headers dict 请求头 ''' method = str.upper(method) if method == "POST": return requests.post(url=url, data=params, headers=headers) elif method == "GET": return requests.get(url=url, params=params, headers=headers) else: return None method = "POST" url = "http://open.liupai.net/sms/balance" headers = None params = { "appkey" : "yourappsecret" } result = api_send_request(method=method, url=url, params=params, headers=headers) if result: body = result.result response = json.loads(body) status_code = response["status"] if (status_code == "200"): print("请求成功:%s" % (body,)) else: print("请求失败: %s" % (body,))
{ "status": 200, "msg": "OK", "result": [ { "accountid": "1", "company": "北京库斯曼科技有限公司", "totalnum": "100000", "usednum": "1781" } ] }
参数名称 | 类型 | 必填 | 说明 |
company | string | 是 | 企业全称 |
signature | string | 是 | 签名 格式【XXX】 |
statusurl | string | 否 | 状态报告回送地址 |
replyurl | string | 否 | 短信回送地址 |
replyusername | string | 否 | 回送用户名 |
replypassword | string | 否 | 回送密码 |
totalnum | int | 是 | 分配的次数 |
参数名称 | 类型 | 说明 | |
company | string | 企业全称 | |
signature | string | 签名 | |
statusurl | string | 设置的状态报告回送地址 | |
replyurl | string | 设置的短信回送地址 | |
replyusername | string | 设置的回送用户名 | |
replypassword | string | 设置的回送密码 | |
totalnum | int | 分配的次数 | |
accountid | int | 子账号ID |
require_once("curl.func.php"); $method = "POST"; $url = "http://open.liupai.net/sms/addaccount"; $headers = NULL; $params = array( "appkey" => "yourappsecret", "company" => "参数1", "signature" => "参数2", "statusurl" => "参数3", "replyurl" => "参数4", "replyusername" => "参数5", "replypassword" => "参数6", "totalnum" => "100" ); $result = api_curl($method, $url, $headers, $params); if ($result) { $body = json_decode($result["body"], TRUE); $status_code = $body["status"]; if ($status_code == "200") { var_dump($body["result"]); }else var_dump($body); }else echo "发送请求失败";
/** * 主函数 * @param args */ public static void main(String args[]) { //请求地址设置 String url = "http://open.liupai.net/sms/addaccount"; //请求方法设置 String requestMethod = "POST"; //请求头部设置 Map<String, String> headers = new HashMap<String, String>(); //请求参数设置 Map<String, String> params = new HashMap<String, String>(); params.put("appkey", "yourappsecret"); params.put("company", "参数1"); params.put("signature", "参数2"); params.put("statusurl", "参数3"); params.put("replyurl", "参数4"); params.put("replyusername", "参数5"); params.put("replypassword", "参数6"); params.put("totalnum", "100"); String result = proxyToDesURL(requestMethod, url, headers, params); if (result != null) { JSONObject jsonObject = JSONObject.parseObject(result); String status_code = jsonObject.getString("status"); if (status_code.equals("200")) { System.out.println("请求成功:" + jsonObject.getS
#!/usr/bin/env python # -*- coding: utf-8 -*- # 测试环境: python2.7 # 安装requests依赖 => pip install requests/ easy_install requests import requests import json import sys reload(sys) sys.setdefaultencoding("utf-8") def api_send_request(method, url, params=None, headers=None): ''' 转发请求到目的主机 @param method str 请求方法 @param url str 请求地址 @param params dict 请求参数 @param headers dict 请求头 ''' method = str.upper(method) if method == "POST": return requests.post(url=url, data=params, headers=headers) elif method == "GET": return requests.get(url=url, params=params, headers=headers) else: return None method = "POST" url = "http://open.liupai.net/sms/addaccount" headers = None params = { "appkey" : "yourappsecret", "company" : "参数1", "signature" : "参数2", "statusurl" : "参数3", "replyurl" : "参数4", "replyusername" : "参数5", "replypassword" : "参数6", "totalnum" : "100" } result = api_send_reques
{ "status": 200, "msg": "OK", "result": { "company": "北京库斯曼科技有限公司", "signature": "【库斯曼科技】", "company": "https://sms.liupai.net/sms/callbank", "statusurl": "https://sms.liupai.net/sms/message", "replyusername": "liupai", "replypassword": "123456", "totalnum": "100000", "accountid": "1" } }
参数名称 | 类型 | 必填 | 说明 |
page | int | 否 | 页码 默认为1 |
pageSize | int | 否 | 每页条数 默认为20 |
参数名称 | 类型 | 说明 | |
accountid | int | 子帐号ID | |
company | string | 企业名称 | |
signature | string | 签名 | |
statusurl | string | 状态报告回送地址 | |
replyurl | string | 短信回送地址 | |
replyusername | string | 回送用户名 | |
replypassword | string | 回送密码 | |
totalnum | int | 总次数 | |
usednum | int | 已使用次数 | |
status | int | 状态 | |
istemnocheck | int | 是否模板免审 | |
failreason | string | 审核失败原因 | |
addtime | int | 子账号添加时间 |
require_once("curl.func.php"); $method = "POST"; $url = "http://open.liupai.net/sms/accountlist"; $headers = NULL; $params = array( "appkey" => "yourappsecret", "page" => "参数1", "pageSize" => "参数2" ); $result = api_curl($method, $url, $headers, $params); if ($result) { $body = json_decode($result["body"], TRUE); $status_code = $body["status"]; if ($status_code == "200") { var_dump($body["result"]); }else var_dump($body); }else echo "发送请求失败";
/** * 主函数 * @param args */ public static void main(String args[]) { //请求地址设置 String url = "http://open.liupai.net/sms/accountlist"; //请求方法设置 String requestMethod = "POST"; //请求头部设置 Map<String, String> headers = new HashMap<String, String>(); //请求参数设置 Map<String, String> params = new HashMap<String, String>(); params.put("appkey", "yourappsecret"); params.put("page", "参数1"); params.put("pageSize", "参数2"); String result = proxyToDesURL(requestMethod, url, headers, params); if (result != null) { JSONObject jsonObject = JSONObject.parseObject(result); String status_code = jsonObject.getString("status"); if (status_code.equals("200")) { System.out.println("请求成功:" + jsonObject.getString("result")); } else { System.out.println("请求失败:" + jsonObject.getString("msg")); } } else { System.out.println("发送请求异常"); } }
#!/usr/bin/env python # -*- coding: utf-8 -*- # 测试环境: python2.7 # 安装requests依赖 => pip install requests/ easy_install requests import requests import json import sys reload(sys) sys.setdefaultencoding("utf-8") def api_send_request(method, url, params=None, headers=None): ''' 转发请求到目的主机 @param method str 请求方法 @param url str 请求地址 @param params dict 请求参数 @param headers dict 请求头 ''' method = str.upper(method) if method == "POST": return requests.post(url=url, data=params, headers=headers) elif method == "GET": return requests.get(url=url, params=params, headers=headers) else: return None method = "POST" url = "http://open.liupai.net/sms/accountlist" headers = None params = { "appkey" : "yourappsecret", "page" : "参数1", "pageSize" : "参数2" } result = api_send_request(method=method, url=url, params=params, headers=headers) if result: body = result.result response = json.loads(body) status_code = response["status"] if (status_code == "200"): print(
{ "status": 200, "msg": "OK", "result": { "data": [ { "company": "北京库斯曼科技有限公司", "signature": "【六派数据】", "statusurl": "http://sms.liupai.net/sms/callbank", "replyurl": "http://sms.liupai.net/sms/message", "replyusername": "liupai", "replypassword": "123456", "totalnum": "2", "usednum": "0", "status": "0", "istemnocheck": "0", "failreason": "", "addtime": "1495461249", "accountid": "1" }, { "company": "北京云店互联科技有限公司", "signature": "【云店互联】", "statusurl": "", "replyurl": "", "replyusername": "", "replypassword": "", "totalnum": "2", "usednum": "0", "status": "0", "istemnocheck": "0", "failreason": "", "addtime": "1495461249", "accountid": "670" } ]
参数名称 | 类型 | 必填 | 说明 |
accountid | int | 是 | 要修改的子账号ID |
company | string | 是 | 企业全称 |
signature | string | 是 | 签名 格式【XXX】 |
statusurl | string | 否 | 状态报告回送地址 |
replyurl | string | 否 | 短信回送地址 |
replyusername | string | 否 | 回送用户名 |
replypassword | string | 否 | 回送密码 |
totalnum | int | 是 | 分配的次数 |
参数名称 | 类型 | 说明 | |
company | string | 企业全称 | |
signature | string | 签名 | |
statusurl | string | 设置的状态报告回送地址 | |
replyurl | string | 设置的短信回送地址 | |
replyusername | string | 设置的回送用户名 | |
replypassword | string | 设置的回送用户名 设置的回送密码 | |
totalnum | int | 分配的次数 | |
accountid | int | 子账号ID |
require_once("curl.func.php"); $method = "POST"; $url = "http://open.liupai.net/sms/editaccount"; $headers = NULL; $params = array( "appkey" => "yourappsecret", "accountid" => "参数1", "company" => "参数2", "signature" => "参数3", "statusurl" => "参数4", "replyurl" => "参数5", "replyusername" => "参数6", "replypassword" => "参数7", "totalnum" => "参数8" ); $result = api_curl($method, $url, $headers, $params); if ($result) { $body = json_decode($result["body"], TRUE); $status_code = $body["status"]; if ($status_code == "200") { var_dump($body["result"]); }else var_dump($body); }else echo "发送请求失败";
/** * 主函数 * @param args */ public static void main(String args[]) { //请求地址设置 String url = "http://open.liupai.net/sms/editaccount"; //请求方法设置 String requestMethod = "POST"; //请求头部设置 Map<String, String> headers = new HashMap<String, String>(); //请求参数设置 Map<String, String> params = new HashMap<String, String>(); params.put("appkey", "yourappsecret"); params.put("accountid", "参数1"); params.put("company", "参数2"); params.put("signature", "参数3"); params.put("statusurl", "参数4"); params.put("replyurl", "参数5"); params.put("replyusername", "参数6"); params.put("replypassword", "参数7"); params.put("totalnum", "参数8"); String result = proxyToDesURL(requestMethod, url, headers, params); if (result != null) { JSONObject jsonObject = JSONObject.parseObject(result); String status_code = jsonObject.getString("status"); if (status_code.equals("200")) {
#!/usr/bin/env python # -*- coding: utf-8 -*- # 测试环境: python2.7 # 安装requests依赖 => pip install requests/ easy_install requests import requests import json import sys reload(sys) sys.setdefaultencoding("utf-8") def api_send_request(method, url, params=None, headers=None): ''' 转发请求到目的主机 @param method str 请求方法 @param url str 请求地址 @param params dict 请求参数 @param headers dict 请求头 ''' method = str.upper(method) if method == "POST": return requests.post(url=url, data=params, headers=headers) elif method == "GET": return requests.get(url=url, params=params, headers=headers) else: return None method = "POST" url = "http://open.liupai.net/sms/editaccount" headers = None params = { "appkey" : "yourappsecret", "accountid" : "参数1", "company" : "参数2", "signature" : "参数3", "statusurl" : "参数4", "replyurl" : "参数5", "replyusername" : "参数6", "replypassword" : "参数7", "totalnum"
{ "status": 200, "msg": "OK", "result": { "company": "北京库斯曼科技有限公司", "signature": "【库斯曼科技】", "company": "https://sms.liupai.net/sms/callbank", "statusurl": "https://sms.liupai.net/sms/message", "replyusername": "liupai", "replypassword": "123456", "totalnum": "100000", "accountid": "1" } }
参数名称 | 类型 | 必填 | 说明 |
accountid | int | 是 | 子账号ID |
title | string | 是 | 模板标识 |
content | string | 是 | 模板内容 营销短信加:回TD退订。替换的内容用@代替,70个字符为一条短信。 |
ismarket | int | 是 | 是否为营销短信 1为是,0为不是 |
参数名称 | 类型 | 说明 | |
accountid | int | 子账号ID | |
name | int | 模板标识 | |
content | string | 模板内容 | |
templateid | int | 模板ID | |
status | int | 状态 | |
ismarket | int | 是否为营销短信 |
require_once("curl.func.php"); $method = "POST"; $url = "http://open.liupai.net/sms/addtemplate"; $headers = NULL; $params = array( "appkey" => "yourappsecret", "accountid" => "参数1", "title" => "参数2", "content" => "参数3", "ismarket" => "参数4" ); $result = api_curl($method, $url, $headers, $params); if ($result) { $body = json_decode($result["body"], TRUE); $status_code = $body["status"]; if ($status_code == "200") { var_dump($body["result"]); }else var_dump($body); }else echo "发送请求失败";
/** * 主函数 * @param args */ public static void main(String args[]) { //请求地址设置 String url = "http://open.liupai.net/sms/addtemplate"; //请求方法设置 String requestMethod = "POST"; //请求头部设置 Map<String, String> headers = new HashMap<String, String>(); //请求参数设置 Map<String, String> params = new HashMap<String, String>(); params.put("appkey", "yourappsecret"); params.put("accountid", "参数1"); params.put("title", "参数2"); params.put("content", "参数3"); params.put("ismarket", "参数4"); String result = proxyToDesURL(requestMethod, url, headers, params); if (result != null) { JSONObject jsonObject = JSONObject.parseObject(result); String status_code = jsonObject.getString("status"); if (status_code.equals("200")) { System.out.println("请求成功:" + jsonObject.getString("result")); } else { System.out.println("请求失败:" + jsonObject.getString("msg")); } } else { System.out.pr
#!/usr/bin/env python # -*- coding: utf-8 -*- # 测试环境: python2.7 # 安装requests依赖 => pip install requests/ easy_install requests import requests import json import sys reload(sys) sys.setdefaultencoding("utf-8") def api_send_request(method, url, params=None, headers=None): ''' 转发请求到目的主机 @param method str 请求方法 @param url str 请求地址 @param params dict 请求参数 @param headers dict 请求头 ''' method = str.upper(method) if method == "POST": return requests.post(url=url, data=params, headers=headers) elif method == "GET": return requests.get(url=url, params=params, headers=headers) else: return None method = "POST" url = "http://open.liupai.net/sms/addtemplate" headers = None params = { "appkey" : "yourappsecret", "accountid" : "参数1", "title" : "参数2", "content" : "参数3", "ismarket" : "参数4" } result = api_send_request(method=method, url=url, params=params, headers=headers) if result: body = result.result response = json.loads(body) status_code
{ "status": 200, "msg": "OK", "result": { "accountid": "1", "name": "六派数据", "content": "尊敬的会员,您的验证码:@。您正在注册,10分钟内有效。【六派数据】", "templateid": "10", "status": "1", "ismarket": "0" } }
参数名称 | 类型 | 必填 | 说明 |
accountid | int | 是 | 子账号ID |
page | int | 否 | 页码 默认为1 |
pageSize | int | 否 | 每页条数 默认为20 |
参数名称 | 类型 | 说明 | |
templateid | int | 模板ID | |
name | string | 模板名称 | |
content | string | 模板内容 | |
ismarket | int | 是否为营销短信 | |
status | int | 状态 | |
failreason | string | 审核失败原因 | |
addtime | int | 添加时间 |
require_once("curl.func.php"); $method = "POST"; $url = "http://open.liupai.net/sms/templatelist"; $headers = NULL; $params = array( "appkey" => "yourappsecret", "accountid" => "参数1", "page" => "参数2", "pageSize" => "参数3" ); $result = api_curl($method, $url, $headers, $params); if ($result) { $body = json_decode($result["body"], TRUE); $status_code = $body["status"]; if ($status_code == "200") { var_dump($body["result"]); }else var_dump($body); }else echo "发送请求失败";
/** * 主函数 * @param args */ public static void main(String args[]) { //请求地址设置 String url = "http://open.liupai.net/sms/templatelist"; //请求方法设置 String requestMethod = "POST"; //请求头部设置 Map<String, String> headers = new HashMap<String, String>(); //请求参数设置 Map<String, String> params = new HashMap<String, String>(); params.put("appkey", "yourappsecret"); params.put("accountid", "参数1"); params.put("page", "参数2"); params.put("pageSize", "参数3"); String result = proxyToDesURL(requestMethod, url, headers, params); if (result != null) { JSONObject jsonObject = JSONObject.parseObject(result); String status_code = jsonObject.getString("status"); if (status_code.equals("200")) { System.out.println("请求成功:" + jsonObject.getString("result")); } else { System.out.println("请求失败:" + jsonObject.getString("msg")); } } else { System.out.println("发送请求异常"); } }
#!/usr/bin/env python # -*- coding: utf-8 -*- # 测试环境: python2.7 # 安装requests依赖 => pip install requests/ easy_install requests import requests import json import sys reload(sys) sys.setdefaultencoding("utf-8") def api_send_request(method, url, params=None, headers=None): ''' 转发请求到目的主机 @param method str 请求方法 @param url str 请求地址 @param params dict 请求参数 @param headers dict 请求头 ''' method = str.upper(method) if method == "POST": return requests.post(url=url, data=params, headers=headers) elif method == "GET": return requests.get(url=url, params=params, headers=headers) else: return None method = "POST" url = "http://open.liupai.net/sms/templatelist" headers = None params = { "appkey" : "yourappsecret", "accountid" : "参数1", "page" : "参数2", "pageSize" : "参数3" } result = api_send_request(method=method, url=url, params=params, headers=headers) if result: body = result.result response = json.loads(body) status_code = response["status"] if (sta
{ "status": 200, "msg": "OK", "result": { "data": [ { "templateid": "10", "name": "六派数据", "content": "尊敬的会员,您的验证码:@。您正在注册,10分钟内有效。【六派数据】", "ismarket": "0", "status": "1", "failreason": "", "addtime": "1495461249", "accountid": "1" } ], "page": { "page": 1, "pageSize": 20 } } }
参数名称 | 类型 | 必填 | 说明 |
templateid | int | 是 | 短信模板ID |
start_date | string | 否 | 开始日期 |
end_date | string | 否 | 结束日期 |
page | int | 否 | 当前页 |
参数名称 | 类型 | 说明 | |
sendtime | string | 发送时间 | |
mobile | string | 发送手机号 | |
message | string | 短信内容 | |
msgid | int | 短信回执ID | |
is_ok | int | 短信状态 |
require_once("curl.func.php"); $method = "POST"; $url = "http://open.liupai.net/sms/sendlogs"; $headers = NULL; $params = array( "appkey" => "yourappsecret", "templateid" => "参数1", "start_date" => "2022-06-01", "end_date" => "2022-06-18", "page" => "1" ); $result = api_curl($method, $url, $headers, $params); if ($result) { $body = json_decode($result["body"], TRUE); $status_code = $body["status"]; if ($status_code == "200") { var_dump($body["result"]); }else var_dump($body); }else echo "发送请求失败";
/** * 主函数 * @param args */ public static void main(String args[]) { //请求地址设置 String url = "http://open.liupai.net/sms/sendlogs"; //请求方法设置 String requestMethod = "POST"; //请求头部设置 Map<String, String> headers = new HashMap<String, String>(); //请求参数设置 Map<String, String> params = new HashMap<String, String>(); params.put("appkey", "yourappsecret"); params.put("templateid", "参数1"); params.put("start_date", "2022-06-01"); params.put("end_date", "2022-06-18"); params.put("page", "1"); String result = proxyToDesURL(requestMethod, url, headers, params); if (result != null) { JSONObject jsonObject = JSONObject.parseObject(result); String status_code = jsonObject.getString("status"); if (status_code.equals("200")) { System.out.println("请求成功:" + jsonObject.getString("result")); } else { System.out.println("请求失败:" + jsonObject.getString("msg")); } } else { System.out.println("发送请求异常"); } }
#!/usr/bin/env python # -*- coding: utf-8 -*- # 测试环境: python2.7 # 安装requests依赖 => pip install requests/ easy_install requests import requests import json import sys reload(sys) sys.setdefaultencoding("utf-8") def api_send_request(method, url, params=None, headers=None): ''' 转发请求到目的主机 @param method str 请求方法 @param url str 请求地址 @param params dict 请求参数 @param headers dict 请求头 ''' method = str.upper(method) if method == "POST": return requests.post(url=url, data=params, headers=headers) elif method == "GET": return requests.get(url=url, params=params, headers=headers) else: return None method = "POST" url = "http://open.liupai.net/sms/sendlogs" headers = None params = { "appkey" : "yourappsecret", "templateid" : "参数1", "start_date" : "2022-06-01", "end_date" : "2022-06-18", "page" : "1" } result = api_send_request(method=method, url=url, params=params, headers=headers) if result: body = result.result response = json.loads(body) status_code = response["status"] if (status_code == "200"): print("请求成功:%s" % (body,)) else: print("请求失败: %s" % (body,)) else: print("发送请求失败")
状态码 | 描述 |
状态码 | 描述 |
101 | APPKEY为空或不存在 |
102 | APPKEY已过期 |
103 | APPKEY无请求此数据权限 |
104 | 请求超过次数限制 |
105 | IP被禁 |
106 | IP请求超过限制 |
107 | 接口维护中 |
108 | 接口已停用 |
计次套餐 | 权限 | 原价 | 优惠价 | 单价 |
免费套餐 | 10次 | 免费 | / | ≈0.00000元/次 |
Leve1 | 10000次 | 480.00 | / | ≈0.04800元/次 |
Level2 | 50000次 | 2200.00 | / | ≈0.04400元/次 |
Level3 | 100000次 | 4200.00 | / | ≈0.04200元/次 |
Level4 | 200000次 | 8000.00 | / | ≈0.04000元/次 |
Level5 | 500000次 | 16000.00 | / | ≈0.03200元/次 |
更多优惠,请咨询 010-8639-9970 周一至周五(9:30-18:30) |
用户 | 购买时间 | 周期 | 套餐 |
177****3456 | 2024-06-19 18:15:53 | 一年 | ¥480.00 / 10000次 |
130****9334 | 2023-08-08 10:05:31 | 一年 | ¥480.00 / 10000次 |
170****8981 | 2023-08-07 01:19:01 | 一年 | ¥2200.00 / 50000次 |
170****8981 | 2023-08-07 00:29:08 | 一年 | ¥480.00 / 10000次 |
170****8981 | 2023-08-07 00:00:07 | 一年 | ¥480.00 / 10000次 |
170****8981 | 2023-08-06 22:22:54 | 一年 | ¥480.00 / 10000次 |
170****8981 | 2023-08-06 20:55:36 | 一年 | ¥480.00 / 10000次 |
170****8981 | 2023-08-06 17:04:08 | 一年 | ¥480.00 / 10000次 |
170****8981 | 2023-08-06 15:47:29 | 一年 | ¥480.00 / 10000次 |
170****8981 | 2023-08-06 14:47:18 | 一年 | ¥480.00 / 10000次 |