xxxxxxxxxx
按照分页的方式获取所有影视信息,返回的信息自动分页。如果您传入name参数,那么将自动执行搜索操作。
开发中
api.djcat.sbs/api/movies?page=1&limit=10&name=总裁
GET
none
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
page | 1 | Number | 是 | 当前页,从1开始 |
limit | 10 | Number | 是 | 每页返回的影视数量 |
name | 总裁 | String | 否 | 搜索关键字,为空则不搜索直接按照添加顺序返回 |
xxxxxxxxxx
暂无预执行脚本
xxxxxxxxxx
暂无后执行脚本
xxxxxxxxxx
{
"code": 0,
"data": {
"rows": [
{
"createAt": 1710089129,
"id": 1,
"link": "https://pan.quark.cn/s/8f418807aa1c",
"name": "230-腹黑总裁的惹火娇妻(79集)",
"updateAt": 1710089129
}
],
"total": 7556
},
"message": "Success"
}
参数名 | 示例值 | 参数类型 | 参数描述 |
---|---|---|---|
code | 0 | Integer | 相应状态码,0为成功 |
data | - | Object | 返回数据 |
data.rows | - | Array | 所有数据行 |
data.rows.createAt | 1710089129 | Integer | 数据创建于,10位秒级时间戳 |
data.rows.id | 1 | Integer | 数据ID |
data.rows.link | https://pan.quark.cn/s/8f418807aa1c | String | 视频链接 |
data.rows.name | 230-腹黑总裁的惹火娇妻(79集) | String | 视频名称 |
data.rows.updateAt | 1710089129 | Integer | 视频更新于,一般和创建时间相同 |
data.total | 7556 | Integer | 总共有多少数据 |
message | Success | String | 响应结果描述 |
xxxxxxxxxx
{
"code": 1,
"data": null,
"message": "参数格式不正确"
}
xxxxxxxxxx
不分页的返回所有影视信息
开发中
api.djcat.sbs/api/movies/all
GET
none
xxxxxxxxxx
暂无预执行脚本
xxxxxxxxxx
暂无后执行脚本
xxxxxxxxxx
{
"code": 0,
"data": [
{
"createAt": 1710089129,
"id": 1,
"link": "https://pan.quark.cn/s/8f418807aa1c",
"name": "230-腹黑总裁的惹火娇妻(79集)",
"updateAt": 1710089129
}
],
"message": "Success"
}
参数名 | 示例值 | 参数类型 | 参数描述 |
---|---|---|---|
code | 0 | Integer | 相应状态码,0为成功 |
data | - | Array | 返回数据 |
data.createAt | 1710089129 | Integer | 创建时间,秒级时间戳 |
data.id | 1 | Integer | 影视ID |
data.link | https://pan.quark.cn/s/8f418807aa1c | String | 视频网盘链接 |
data.name | 230-腹黑总裁的惹火娇妻(79集) | String | 视频名称 |
data.updateAt | 1710089129 | Integer | |
message | Success | String | 响应结果描述 |
x
获取当前热门影视信息
开发中
api.djcat.sbs/api/movies/hot
GET
none
xxxxxxxxxx
暂无预执行脚本
xxxxxxxxxx
暂无后执行脚本
xxxxxxxxxx
{
"code": 0,
"data": [
{
"hotRate": 1,
"keyword": "总裁",
"movies": [
{
"createAt": 1710089129,
"id": 1,
"link": "https://pan.quark.cn/s/8f418807aa1c",
"name": "230-腹黑总裁的惹火娇妻(79集)",
"updateAt": 1710089129
}
]
}
],
"message": "Success"
}
参数名 | 示例值 | 参数类型 | 参数描述 |
---|---|---|---|
code | 0 | Integer | 相应状态码,0为成功 |
data | - | Array | 返回数据 |
data.hotRate | 1 | Integer | 热门指数,搜索人数越多此值越高 |
data.keyword | 总裁 | String | 关键词 |
data.movies | - | Array | |
data.movies.createAt | 1710089129 | Integer | |
data.movies.id | 1 | Integer | |
data.movies.link | https://pan.quark.cn/s/8f418807aa1c | String | |
data.movies.name | 230-腹黑总裁的惹火娇妻(79集) | String | |
data.movies.updateAt | 1710089129 | Integer | |
message | Success | String | 响应结果描述 |
x
获取今天更新的影视信息
开发中
api.djcat.sbs/api/movies/today
GET
none
xxxxxxxxxx
暂无预执行脚本
xxxxxxxxxx
暂无后执行脚本
{
"code": 0,
"data": [
{
"createAt": 1710089129,
"id": 1,
"link": "https://pan.quark.cn/s/8f418807aa1c",
"name": "230-腹黑总裁的惹火娇妻(79集)",
"updateAt": 1710089129
}
],
"message": "Success"
}