Skip to main content

youtubei

Enumerations

Classes

Interfaces

Type Aliases

HTTPOptions

Ƭ HTTPOptions: Object

Type declaration

NameType
apiKeystring
baseUrlstring
clientNamestring
clientVersionstring
fetchOptions?Partial<RequestInit>
initialCookie?string
oauth?OAuthOptions
pot?PotOptions
youtubeClientOptions?Record<string, unknown>

MusicClientOptions

Ƭ MusicClientOptions: HTTPOptions


MusicSearchResultItem

Ƭ MusicSearchResultItem<T>: T extends "song" ? MusicSongCompact : MusicVideoCompact

Type parameters

NameType
T"song"

MusicSearchType

Ƭ MusicSearchType: "song" | "video" | MusicSearchTypeEnum


MusicTopShelf

Ƭ MusicTopShelf: Object

Type declaration

NameType
item?MusicVideoCompact | MusicAlbumCompact | MusicPlaylistCompact | MusicArtistCompact
more?(MusicVideoCompact | MusicAlbumCompact | MusicPlaylistCompact | MusicArtistCompact)[]

OAuthOptions

Ƭ OAuthOptions: Object

Type declaration

NameType
enabledboolean
refreshToken?string

OAuthProps

Ƭ OAuthProps: Object

Type declaration

NameType
expiresAtDate | null
refreshToken?string
tokenstring | null

PotOptions

Ƭ PotOptions: Object

Type declaration

NameType
tokenstring
visitorDatastring