返回提交历史
Modified
user/info.md
+40
-20
XFEstudio/bilibili-API-collect
update space/acc/info (#329)
`live_room.online` was removed and `live_room.watched_show` has been added.
349e8b3
代码差异
1 个文件
+40
-20
@@ -131,17 +131,29 @@
131
131
132
132
`data`中的`live_room`对象:
133
133
134
| 字段 | 类型 | 内容 | 备注 |
135
| -------------- | ---- | -------------- | ------------------------ |
136
| roomStatus | num | 直播间状态 | 0:无房间<br />1:有房间 |
137
| liveStatus | num | 直播状态 | 0:未开播<br />1:直播中 |
138
| url | str | 直播间网页url | |
139
| title | str | 直播间标题 | |
140
| cover | str | 直播间封面url | |
141
| online | num | 直播间人气 | 值为上次直播时刷新 |
142
| roomid | num | 直播间id(短号) | |
143
| roundStatus | num | 轮播状态 | 0:未轮播<br />1:轮播 |
144
| broadcast_type | num | 0 | |
134
| 字段 | 类型 | 内容 | 备注 |
135
| -------------- | ---- | --------------- | ------------------------ |
136
| roomStatus | num | 直播间状态 | 0:无房间<br />1:有房间 |
137
| liveStatus | num | 直播状态 | 0:未开播<br />1:直播中 |
138
| url | str | 直播间网页 url | |
139
| title | str | 直播间标题 | |
140
| cover | str | 直播间封面 url | |
141
| watched_show | obj | | |
142
| roomid | num | 直播间 id(短号) | |
143
| roundStatus | num | 轮播状态 | 0:未轮播<br />1:轮播 |
144
| broadcast_type | num | 0 | |
145
146
`live_room`中的`watched_show`对象:
147
148
| 字段 | 类型 | 内容 | 备注 |
149
| ------------- | ---- | ------------------- | ---- |
150
| switch | bool | ? | |
151
| num | num | total watched users | |
152
| text_small | str | | |
153
| text_large | str | | |
154
| icon | str | watched icon url | |
155
| icon_location | str | ? | |
156
| icon_web | str | watched icon url | |
145
157
146
158
`data`中的`school`对象:
147
159
@@ -267,15 +279,23 @@ curl -G 'http://api.bilibili.com/x/space/acc/info' \
267
279
"theme": {},
268
280
"sys_notice": {},
269
281
"live_room": {
270
"roomStatus": 1,
271
"liveStatus": 0,
272
"url": "https://live.bilibili.com/1024",
273
"title": "试图恰鸡",
274
"cover": "http://i0.hdslb.com/bfs/live/new_room_cover/96ee5bfd0279a0f18b190340334f43f473038288.jpg",
275
"online": 16808,
276
"roomid": 1024,
277
"roundStatus": 0,
278
"broadcast_type": 0
282
"roomStatus": 1,
283
"liveStatus": 1,
284
"url": "https://live.bilibili.com/80397?broadcast_type=0\u0026is_room_feed=1",
285
"title": "天空一道巨响!",
286
"cover": "http://i0.hdslb.com/bfs/live/new_room_cover/f702ce1b7d1b728dafa57d96bbf7db319ab3aab7.jpg",
287
"roomid": 80397,
288
"roundStatus": 0,
289
"broadcast_type": 0,
290
"watched_show": {
291
"switch": true,
292
"num": 161436,
293
"text_small": "16.1万",
294
"text_large": "16.1万人看过",
295
"icon": "https://i0.hdslb.com/bfs/live/a725a9e61242ef44d764ac911691a7ce07f36c1d.png",
296
"icon_location": "",
297
"icon_web": "https://i0.hdslb.com/bfs/live/8d9d0f33ef8bf6f308742752d13dd0df731df19c.png"
298
}
279
299
},
280
300
"birthday": "09-19",
281
301
"school": {