Yabapi
0.11.2indexedThird-party API library for accessing Bilibili, supporting user authentication, relationship management, content search, video, column and live stream data retrieval, with high performance and type safety.
Third-party API library for accessing Bilibili, supporting user authentication, relationship management, content search, video, column and live stream data retrieval, with high performance and type safety.
🔧 WIP 并没有进入稳定版本, API 可能会发生变动, 繁体中文
简而言之,Yabapi 是一个 B 站第三方 Kotlin API 库。
本项目代码基于 CC0 分发, 释放于公有领域, 如果你乐意, 可以在使用时附上我的名字(这并不强制).
本项目 Logo 基于 CC BY ND 4.0 分发, 若需要使用 Logo, 务必附上本项目地址, 并且不得更改其内容. Banner 使用了思源等宽.
本项目是 Kotlin Multiplatform 项目,现在支持 JVM 和 Native 两大平台,绝大多数功能都提供多平台支持。
基于 Kotlin 协程 的支持,开发者可以轻松写出高性能的代码。
Kotlin 为开发者提供了巨大帮助,包括在语言层面上对空指针的避免,以及完备的序列化库 kotlinx.serialization.
Yabapi 基于此,力求类型安全,避免空指针,减少运行时错误。
敏感 API 不会被支持, 如 B 币钱包、注册、新人答题、课程下载。同时 API 会优先支持读取操作。
// Common
implementation("moe.sdl.yabapi:yabapi-core:$version")
// JVM
implementation("moe.sdl.yabapi:yabapi-core-jvm:$version")
// Native
implementation("moe.sdl.yabapi:yabapi-core-native:$version")
repositories {
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}
dependencies {
implementation("moe.sdl.yabapi:yabapi-core-$platform:$snapshotVersion")
}
See: CHANGELOG.md
Surfaced from shared tags and platforms — no rankings paid for.
登录
关系
信息获取
搜索
视频
专栏
动态
相簿
介于 相簿专站 基本废弃, 不计划添加额外 API
专栏
直播
表情
时间
Cookie 存储