# YouTube Kids YouTube Kids is a modified version of the YouTube app, with a simplified interface and curated content. This class allows you to interact with its API. ## API * Kids * [.search(query)](#search) * [.getInfo(video_id)](#getinfo) * [.getChannel(channel_id)](#getchannel) * [.getHomeFeed()](#gethomefeed) * [.blockChannel(channel_id)](#blockchannel) ### search(query) Searches the given query on YouTube Kids. **Returns:** `Promise.` | Param | Type | Description | | --- | --- | --- | | query | `string` | The query to search |
Methods & Getters

- `#page` - Returns the original InnerTube response(s), parsed and sanitized.

### getInfo(video_id) Retrieves video info. **Returns:** `Promise.` | Param | Type | Description | | --- | --- | --- | | video_id | `string` | The video id |
Methods & Getters

- `#toDash(url_transformer?, format_filter?)` - Generates a DASH manifest from the streaming data. - `#chooseFormat(options)` - Selects the format that best matches the given options. This method is used internally by `#download`. - `#download(options?)` - Downloads the video. - `#addToWatchHistory()` - Adds the video to the watch history. - `#page` - Returns the original InnerTube response(s), parsed and sanitized.

### getChannel(channel_id) Retrieves channel info. **Returns:** `Promise.` | Param | Type | Description | | --- | --- | --- | | channel_id | `string` | The channel id |
Methods & Getters

- `#getContinuation()` - Retrieves next batch of videos. - `#has_continuation` - Returns whether there are more videos to retrieve. - `#page` - Returns the original InnerTube response(s), parsed and sanitized.

### getHomeFeed() Retrieves the home feed. **Returns:** `Promise.`
Methods & Getters

- `#selectCategoryTab(tab: string | KidsCategoryTab)` - Selects the given category tab. - `#categories` - Returns available categories. - `#page` - Returns the original InnerTube response(s), parsed and sanitized.

### blockChannel(channel_id) Retrieves the list of supervised accounts that the signed-in user has access to and blocks the given channel for each of them. **Returns:** `Promise.` | Param | Type | Description | | --- | --- | --- | | channel_id | `string` | Channel id |