Overview
Can be accessed using client.helix.videos
on an
ApiClient
instance.
Example
const api = new ApiClient(new StaticAuthProvider(clientId, accessToken));
const { data: videos } = await api.helix.videos.getVideosByUser('125328655');
Methods
deleteVideosByIds(ids)
asyncDeletes videos by its IDs.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
ids | Array<string> | none |
The IDs of the videos to delete. |
getVideoById(id)
asyncRetrieves the video data for the given video ID.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
id | string | none |
The video ID you want to look up. |
getVideosByGame(gameId, filter)
asyncRetrieves the videos of the given game.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
gameId | string | none |
The game you want to retrieve videos from. |
|
filter | HelixVideoFilter | {} |
Additional filters for the result set. |
getVideosByGamePaginated(gameId, filter)
Creates a paginator for videos of the given game.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
gameId | string | none |
The game you want to retrieve videos from. |
|
filter | HelixVideoFilter | {} |
Additional filters for the result set. |
getVideosByIds(ids)
asyncRetrieves the video data for the given list of video IDs.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
ids | string | Array<string> | none |
The video IDs you want to look up. |
getVideosByUser(user, filter)
asyncRetrieves the videos of the given user.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
user | UserIdResolvable | none |
The user you want to retrieve videos from. |
|
filter | HelixPaginatedVideoFilter | {} |
Additional filters for the result set. |
getVideosByUserPaginated(user, filter)
Creates a paginator for videos of the given user.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
user | UserIdResolvable | none |
The user you want to retrieve videos from. |
|
filter | HelixVideoFilter | {} |
Additional filters for the result set. |