youtubei.js / Clients / Kids
Class: Kids
Defined in: src/core/clients/Kids.ts:9
Constructors
Constructor
new Kids(
session):Kids
Defined in: src/core/clients/Kids.ts:12
Parameters
session
Returns
Kids
Methods
blockChannel()
blockChannel(
channel_id):Promise<ApiResponse[]>
Defined in: src/core/clients/Kids.ts:79
Retrieves the list of supervised accounts that the signed-in user has access to, and blocks the given channel for each of them.
Parameters
channel_id
string
The channel id to block.
Returns
Promise<ApiResponse[]>
A list of API responses.
getChannel()
getChannel(
channel_id):Promise<Channel>
Defined in: src/core/clients/Kids.ts:61
Parameters
channel_id
string
Returns
Promise<Channel>
getHomeFeed()
getHomeFeed():
Promise<HomeFeed>
Defined in: src/core/clients/Kids.ts:67
Returns
Promise<HomeFeed>
getInfo()
getInfo(
video_id,options?):Promise<VideoInfo>
Defined in: src/core/clients/Kids.ts:22
Parameters
video_id
string
options?
Omit<GetVideoInfoOptions, "client">
Returns
Promise<VideoInfo>
search()
search(
query):Promise<Search>
Defined in: src/core/clients/Kids.ts:16
Parameters
query
string
Returns
Promise<Search>