@np-dev/youtubei-js
Version:
A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).
20 lines (19 loc) • 556 B
TypeScript
export type UpdateVideoMetadataOptions = Partial<{
title: string;
description: string;
tags: string[];
category: number;
license: string;
age_restricted: boolean;
made_for_kids: boolean;
privacy: 'PUBLIC' | 'PRIVATE' | 'UNLISTED';
}>;
export type UploadedVideoMetadataOptions = Partial<{
title: string;
description: string;
privacy: 'PUBLIC' | 'PRIVATE' | 'UNLISTED';
is_draft: boolean;
}>;
export type MusicSearchFilters = Partial<{
type: 'all' | 'song' | 'video' | 'album' | 'playlist' | 'artist';
}>;