mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
44 lines
1.6 KiB
Dart
44 lines
1.6 KiB
Dart
class Api {
|
|
// 推荐视频
|
|
static const String recommendList = '/x/web-interface/index/top/feed/rcmd';
|
|
// 热门视频
|
|
static const String hotList = '/x/web-interface/popular';
|
|
// 视频详情
|
|
// 竖屏 https://api.bilibili.com/x/web-interface/view?aid=527403921
|
|
// https://api.bilibili.com/x/web-interface/view/detail 获取视频超详细信息(web端)
|
|
static const String videoIntro = '/x/web-interface/view';
|
|
|
|
// 视频详情页 相关视频
|
|
static const String relatedList = '/x/web-interface/archive/related';
|
|
|
|
// 评论列表
|
|
static const String replyList = '/x/v2/reply';
|
|
|
|
// 楼中楼
|
|
static const String replyReplyList = '/x/v2/reply/reply';
|
|
|
|
// 用户(被)关注数、投稿数
|
|
// https://api.bilibili.com/x/relation/stat?vmid=697166795
|
|
static const String userStat = '/x/relation/stat';
|
|
|
|
// 获取用户信息
|
|
static const String userInfo = '/x/web-interface/nav';
|
|
|
|
// 获取当前用户状态
|
|
static const String userStatOwner = '/x/web-interface/nav/stat';
|
|
|
|
// 收藏夹
|
|
// https://api.bilibili.com/x/v3/fav/folder/created/list?pn=1&ps=10&up_mid=17340771
|
|
static const String userFavFolder = '/x/v3/fav/folder/created/list';
|
|
|
|
/// 收藏夹 详情
|
|
/// media_id int 收藏夹id
|
|
/// pn int 当前页
|
|
/// ps int pageSize
|
|
/// keyword String 搜索词
|
|
/// order String 排序方式 view 最多播放 mtime 最近收藏 pubtime 最近投稿
|
|
/// tid int 分区id
|
|
// https://api.bilibili.com/x/v3/fav/resource/list?media_id=76614671&pn=1&ps=20&keyword=&order=mtime&type=0&tid=0
|
|
static const String userFavFolderDetail = '/x/v3/fav/resource/list';
|
|
}
|