youtubei
Enumerations
Classes
- MusicAlbumCompact
- MusicArtistCompact
- MusicBase
- MusicBaseAlbum
- MusicBaseArtist
- MusicBaseChannel
- MusicClient
- MusicLyrics
- MusicPlaylistCompact
- MusicSearchResult
- MusicSongCompact
- MusicVideoCompact
- OAuth
- Thumbnails
Interfaces
Type Aliases
HTTPOptions
Ƭ HTTPOptions: Object
Type declaration
Name | Type |
---|---|
apiKey | string |
baseUrl | string |
clientName | string |
clientVersion | string |
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
Name | Type |
---|---|
T | "song" |
MusicSearchType
Ƭ MusicSearchType: "song"
| "video"
| MusicSearchTypeEnum
MusicTopShelf
Ƭ MusicTopShelf: Object
Type declaration
Name | Type |
---|---|
item? | MusicVideoCompact | MusicAlbumCompact | MusicPlaylistCompact | MusicArtistCompact |
more? | (MusicVideoCompact | MusicAlbumCompact | MusicPlaylistCompact | MusicArtistCompact )[] |
OAuthOptions
Ƭ OAuthOptions: Object
Type declaration
Name | Type |
---|---|
enabled | boolean |
refreshToken? | string |
OAuthProps
Ƭ OAuthProps: Object
Type declaration
Name | Type |
---|---|
expiresAt | Date | null |
refreshToken? | string |
token | string | null |
PotOptions
Ƭ PotOptions: Object
Type declaration
Name | Type |
---|---|
token | string |
visitorData | string |