Đối tượng
Đối tượng LiveRoom
A live room as it is now: whether it is on, its title, host, start time and room-level counts. The same fields on every platform. A field a platform does not show is null, and meta.unavailable names it with the reason.
| Trường | Loại | Theo view | Mô tả |
|---|---|---|---|
id | string | null | compact | The room's ID; the endpoints that read a room take it. Null where the platform names no room: an account that is not live, or a board entry that links to the host only. |
url | string | null | compact | The room's web page; null where the platform gives the room none. |
status | string | compact | live: streaming now. offline: not streaming (the other fields then describe the last session, where the platform still shows it). |
title | string | null | compact | Tiêu đề phòng do người dẫn đặt. |
category | string | null | compact | The room's category or game, in the platform's words (Twitch's game, Bilibili's area); null where the platform gives none. |
cover_url | string | null | standard | Ảnh bìa. |
host | AccountRef | compact | Tài khoản công khai của người dẫn. |
started_at | string | null | compact | When the current (or last) session started, ISO 8601 in UTC. |
rank | integer | null | compact | Place on the board, from 1; null outside boards. |
metrics | LiveMetrics | compact | Room-level counts at fetch time; a count the platform does not show is null. |
ext | object | full | Dữ liệu bổ sung riêng của nền tảng. Chỉ trả về khi view=full. · chỉ khi view=full |
AccountRef
| Trường | Loại | Mô tả |
|---|---|---|
id | string | ID tài khoản trên nền tảng. |
username | string | null | Handle, nếu nền tảng có. |
name | string | null | Tên hiển thị. |
avatar_url | string | null | URL ảnh đại diện. |
followers | integer | null | Số người theo dõi tại thời điểm lấy dữ liệu. |
verified | boolean | null | Nền tảng có hiển thị huy hiệu xác minh hay không. |
LiveMetrics
| Trường | Loại | Mô tả |
|---|---|---|
viewers | integer | null | Số người đang ở trong phòng lúc này. |
total_viewers | integer | null | People who have come into the room since it started; where the platform rounds it (100,000+), the lower bound. |
likes | integer | null | Lượt thích từ khi bắt đầu. |
heat | integer | null | The platform's own popularity score for the room, not a head count (Kuaishou's and Bilibili's). |
products | integer | null | Products on sale in the room (the shopping bag). |
Các endpoint trả về LiveRoom
- Trạng thái LIVE của tài khoản TikToktiktok.live.users.getLiveRoom$0.002/call
- Trạng thái live của streamer Twitchtwitch.live.users.getLiveRoom$0.004/call
- Phòng live Douyindouyin.live.rooms.getLiveRoom$0.002/call
- Trạng thái live của tài khoản Douyindouyin.live.users.getLiveRoom$0.004/call
- Tìm live Douyindouyin.live.rooms.searchLiveRoom[]$0.043/call
- Trạng thái live của tài khoản WeChat Channelswechat_channels.live.users.getLiveRoom$0.02/call
- Phòng live WeChat Channelswechat_channels.live.rooms.getLiveRoom$0.02/call
- Phòng live Bilibilibilibili.live.rooms.getLiveRoom$0.002/call
- Trạng thái live của tài khoản Bilibilibilibili.live.users.getLiveRoom$0.002/call
- Trạng thái live của tài khoản Kuaishoukuaishou.live.users.getLiveRoom$0.002/call
- Bảng live Kuaishoukuaishou.live.rooms.trendingLiveRoom[]$0.002/call