简要描述:
- 网盘搜索接口,支持阿里云盘、百度云盘、夸克云盘、迅雷云盘
请求URL:
https://yiso.fun/api/search?name=向往的生活&type=folder&from=ali&pageNo=1
请求方式:
- Get
请求参数:
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
name | 是 | string | 搜索内容 |
type | 否 | string | 文件类型: |
from | 否 | string | 搜索来自哪个网盘 |
pageNo | 否 | int | 当前页 |
type类型:
不传//所有
folder// 文件夹
doc // 文档
video //视频
image //图片
package //压缩包
music //音频
other //其它
from:
''//综合全部
ali //阿里云盘
baidu //百度云盘
quark //夸克云盘
xunlei //迅雷云盘
请求示例
https://yiso.fun/api/search?name=向往的生活&type=folder&from=ali&pageNo=1
返回示例
{
"code": 200,
"msg": "SUCCESS",
"data": {
"total": 26,
"list": [{
"id": "619d18015975f5b4e24249bfa5317702ecb3e4a8",
"name": "向往的生活",
"url": "https://www.aliyundrive.com/s/offDQV7VtTU",
"type": null,
"from": "ali",
"content": null,
"gmtCreate": "2022-07-19 13:50:21",
"fileCount": 1,
"creatorId": "3ddab60d987e4f698a36e673cd1a1713",
"creatorName": "雷***",
"fileInfos": [{
"category": null,
"fileExtension": null,
"fileId": "619d18015975f5b4e24249bfa5317702ecb3e4a8",
"fileName": "向往的生活",
"type": "folder"
}]
}, {
"id": "61041bc63380c5129f104aa792ad52457b803916",
"name": "综艺-向往的生活",
"url": "https://www.aliyundrive.com/s/oWGCoYKu1uw",
"type": null,
"from": "ali",
"content": null,
"gmtCreate": "2022-07-19 11:02:43",
"fileCount": 1,
"creatorId": "2596ce2c4c164ca78fc9d76317b38e4e",
"creatorName": "知识船***四号仓",
"fileInfos": [{
"category": null,
"fileExtension": null,
"fileId": "61041bc63380c5129f104aa792ad52457b803916",
"fileName": "向往的生活",
"type": "folder"
}]
}]
}
}
返回参数说明
参数名 | 类型 | 说明 |
---|---|---|
id | string | 主键编码 |
name | string | 资源名称 |
url | string | 网盘地址 |
type | string | 资源类型 |
from | string | 资源出处 |
name | string | 申请资源名称 |
content | string | 资源介绍 |
gmtCreate | string | 收录时间 |
fileCount | int | 文件数量 |
creatorId | string | 创建人ID |
creatorName | string | 创建人用户名 |
fileInfos | jsonArr | 文件信息 |
——category | string | 文件分类 |
——fileExtension | string | 文件后缀 |
——fileId | string | 文件ID |
——fileName | string | 文件名称 |
——type | string | 类型 |
备注
- 更多返回错误代码请看首页的错误代码描述
注意:本文归作者所有,未经作者允许,不得转载