接口地址:https://api.dzzui.com/api/lanzoujx
返回格式:JSON
请求方式:GET/PSOT

请求参数说明:

名称 必填 类型 说明
  url string 蓝奏云链接,如:https://dzzui.lanzouy.com/iDLehz4zj2f
  pwd string 链接访问密码,没有则留空
  type string 输出方式,txt为只输出下载链接,down为直接下载,留空则json输出

返回参数说明:

名称 类型 说明
 statusstring返回的状态码,1为成功,其他失败
  info string 返回的下载地址

返回示例:

{"status":1,"info":"https:\/\/i51.lanzoug.com\/012300bb\/2022\/01\/23\/b8ed209a064ad638c0437e07c6bf1ab2.zip?st=73XUaqCLueOeTFqsUdpZEg&e=1642869763&b=UuYKvwiDBOlQqgTHUixTLVFtCSU_c&fi=60746835&pid=122-114-161-6&up=2&mp=0&co=1"}

错误码参照:

  错误码 说明
  0 获取失败!

PHP演示:

<?php

header("Content-Type:text/html;charset=UTF-8");

date_default_timezone_set("PRC");

$result = file_get_contents("https://api.dzzui.com/api/lanzoujx?url=https://dzzui.lanzouy.com/iDLehz4zj2f");

$arr=json_decode($result,true);

if ($arr["status"] == 1) {

    echo $arr["info"];

} else {

    echo "获取失败";

}

?>