Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加获取动态列表、直播间弹幕发送以及直播间内用户信息查询API #281

Open
wants to merge 33 commits into
base: master
Choose a base branch
from

Conversation

TyraelDLee
Copy link
Contributor

No description provided.

@TyraelDLee TyraelDLee changed the title 添加获取动态列表的API 添加获取动态列表、直播间弹幕发送以及直播间内用户信息查询API Dec 11, 2021
@YXH-YXH
Copy link

YXH-YXH commented Jun 1, 2022

获取动态列表的api
你提供的那个好像只能获取当前用户还没有查看过的最新内容
https://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/dynamic_new)

我找了一个相关的动态接口,(使用get方式)
https://api.bilibili.com/x/polymer/web-dynamic/v1/feed/all?timezone_offset=-480&type=all&page=1

https://api.bilibili.com/x/polymer/web-dynamic/v1/feed/all?timezone_offset=-480&type=all&offset=666761447605272661&page=2

第一次查询(page=1),在返回的json字段中有:"offset": "666761447605272661",将其作为第二次查询的参数

其中 "type": "DYNAMIC_TYPE_LIVE_RCMD", 表示该动态的类型

@BlameTwo
Copy link
Contributor

BlameTwo commented Dec 3, 2022

获得关注最近更新的UP主
我也找到一个API:https://api.bilibili.com/x/polymer/web-dynamic/v1/portal
会返回从时间排序更新的UP主数组,以及获得这些UP主更新内容的API
https://api.bilibili.com/x/polymer/web-dynamic/v1/feed/all?host_mid=1861940979&offset=&page=1
下一页查询同样需要上一页的json内容中的offset字段

@xiaoyv404 xiaoyv404 added 新增/Add 添加或修改新的内容 直播/Live 接口:直播 弹幕/Danmaku 接口:弹幕 用户/Member 接口:用户信息&用户相关 主站杂项/Misc 接口:主站其他类型 labels Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
新增/Add 添加或修改新的内容 弹幕/Danmaku 接口:弹幕 直播/Live 接口:直播 用户/Member 接口:用户信息&用户相关 主站杂项/Misc 接口:主站其他类型
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants