- douyin
- bilibili
- kuaishou
获取指定直播间信息
开发环境
开发环境
GET
http://localhost:4567/api/bilibili/fetch_live_room_detail
最后修改时间:2024-10-02 14:12:13
请求参数
Query 参数
room_id
string
房间号
示例值:
26183336
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost:4567/api/bilibili/fetch_live_room_detail?room_id=26183336'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
message
string
必需
data
object
必需
uid
integer
必需
room_id
integer
必需
short_id
integer
必需
attention
integer
必需
online
integer
必需
is_portrait
boolean
必需
description
string
必需
live_status
integer
必需
area_id
integer
必需
parent_area_id
integer
必需
parent_area_name
string
必需
old_area_id
integer
必需
background
string
必需
title
string
必需
user_cover
string
必需
keyframe
string
必需
is_strict_room
boolean
必需
live_time
string
必需
tags
string
必需
is_anchor
integer
必需
room_silent_type
string
必需
room_silent_level
integer
必需
room_silent_second
integer
必需
area_name
string
必需
pendants
string
必需
area_pendants
string
必需
hot_words
array[string]
必需
hot_words_status
integer
必需
verify
string
必需
new_pendants
object
必需
up_session
string
必需
pk_status
integer
必需
pk_id
integer
必需
battle_id
integer
必需
allow_change_area_time
integer
必需
allow_upload_cover_time
integer
必需
studio_info
object
必需
示例
{
"code": 0,
"msg": "ok",
"message": "ok",
"data": {
"uid": 1726597059,
"room_id": 26183336,
"short_id": 0,
"attention": 1929028,
"online": 0,
"is_portrait": false,
"description": "",
"live_status": 0,
"area_id": 145,
"parent_area_id": 1,
"parent_area_name": "娱乐",
"old_area_id": 6,
"background": "",
"title": "聊天",
"user_cover": "https://i0.hdslb.com/bfs/live/user_cover/961324819be1ef59130d1ed51ab5e3241367bf05.jpg",
"keyframe": "https://i0.hdslb.com/bfs/live-key-frame/keyframe08090030000026183336d6upu1.jpg",
"is_strict_room": false,
"live_time": "0000-00-00 00:00:00",
"tags": "",
"is_anchor": 0,
"room_silent_type": "",
"room_silent_level": 0,
"room_silent_second": 0,
"area_name": "颜值",
"pendants": "",
"area_pendants": "",
"hot_words": [
"2333333",
"喂,妖妖零吗",
"红红火火恍恍惚惚",
"FFFFFFFFFF",
"Yooooooo",
"啪啪啪啪啪",
"666666666",
"老司机带带我",
"你为什么这么熟练啊",
"gg",
"prprpr",
"向大佬低头",
"请大家注意弹幕礼仪哦!",
"还有这种操作!",
"囍",
"打call",
"你气不气?",
"队友呢?"
],
"hot_words_status": 0,
"verify": "",
"new_pendants": {
"frame": {
"name": "",
"value": "",
"position": 0,
"desc": "",
"area": 0,
"area_old": 0,
"bg_color": "",
"bg_pic": "",
"use_old_area": false
},
"badge": {
"name": "v_person",
"position": 3,
"value": "",
"desc": "bilibili 知名UP主"
},
"mobile_frame": {
"name": "",
"value": "",
"position": 0,
"desc": "",
"area": 0,
"area_old": 0,
"bg_color": "",
"bg_pic": "",
"use_old_area": false
},
"mobile_badge": null
},
"up_session": "",
"pk_status": 0,
"pk_id": 0,
"battle_id": 0,
"allow_change_area_time": 0,
"allow_upload_cover_time": 0,
"studio_info": {
"status": 0,
"master_list": []
}
}
}
修改于 2024-10-02 14:12:13