Objeto
Objeto 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.
| Campo | Tipo | Desde view | Descripción |
|---|---|---|---|
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 | El título de la sala, tal como lo definió el anfitrión. |
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 | Imagen de portada. |
host | AccountRef | compact | La cuenta pública del anfitrió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 | objeto | completo | Datos adicionales propios de la plataforma. Solo se devuelven con view=full. · solo con view=full |
AccountRef
| Campo | Tipo | Descripción |
|---|---|---|
id | string | ID de la cuenta en la plataforma. |
username | string | null | Nombre de usuario, si la plataforma lo tiene. |
name | string | null | Nombre visible. |
avatar_url | string | null | URL de la imagen de avatar. |
followers | integer | null | Número de seguidores en el momento de la consulta. |
verified | boolean | null | Si la plataforma muestra una insignia de verificación. |
LiveMetrics
| Campo | Tipo | Descripción |
|---|---|---|
viewers | integer | null | Personas en la sala en este momento. |
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 | Me gusta desde que empezó. |
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). |
Endpoints que devuelven un LiveRoom
- Estado LIVE de una cuenta de TikToktiktok.live.users.getLiveRoom$0.002/call
- Estado en vivo de un streamer de Twitchtwitch.live.users.getLiveRoom$0.004/call
- Sala de directo de Douyindouyin.live.rooms.getLiveRoom$0.002/call
- Estado de directo de cuentas de Douyindouyin.live.users.getLiveRoom$0.004/call
- Búsqueda de directos de Douyindouyin.live.rooms.searchLiveRoom[]$0.043/call
- Estado en vivo de una cuenta de WeChat Channelswechat_channels.live.users.getLiveRoom$0.02/call
- Sala en vivo de WeChat Channelswechat_channels.live.rooms.getLiveRoom$0.02/call
- Sala de directo de Bilibilibilibili.live.rooms.getLiveRoom$0.002/call
- Estado de directo de cuenta de Bilibilibilibili.live.users.getLiveRoom$0.002/call
- Estado en directo de una cuenta de Kuaishoukuaishou.live.users.getLiveRoom$0.002/call
- Rankings de directos de Kuaishoukuaishou.live.rooms.trendingLiveRoom[]$0.002/call