- douyin
- bilibili
- kuaishou
获取直播间初始化信息
开发环境
http://localhost:4567/api
开发环境
http://localhost:4567/api
GET
http://localhost:4567/api
最后修改时间:2024-10-02 14:13:09
请求参数
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_liveroom_def?room_id=26183336'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
message
string
必需
data
object
必需
room_id
integer
必需
short_id
integer
必需
uid
integer
必需
need_p2p
integer
必需
is_hidden
boolean
必需
is_locked
boolean
必需
is_portrait
boolean
必需
live_status
integer
必需
hidden_till
integer
必需
lock_till
integer
必需
encrypted
boolean
必需
pwd_verified
boolean
必需
live_time
integer
必需
room_shield
integer
必需
is_sp
integer
必需
special_type
integer
必需
示例
{
"code": 0,
"msg": "ok",
"message": "ok",
"data": {
"room_id": 26183336,
"short_id": 0,
"uid": 1726597059,
"need_p2p": 0,
"is_hidden": false,
"is_locked": false,
"is_portrait": false,
"live_status": 0,
"hidden_till": 0,
"lock_till": 0,
"encrypted": false,
"pwd_verified": false,
"live_time": -62170012800,
"room_shield": 0,
"is_sp": 0,
"special_type": 0
}
}
修改于 2024-10-02 14:13:09