Search
Preparing search index...
The search index is not available
play-dl
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
play-dl
<internal>
SpotifyPlaylist
Class SpotifyPlaylist
Class for Spotify Playlist
Hierarchy
SpotifyPlaylist
Index
Constructors
constructor
Properties
collaborative
description
fetched_
tracks
id
name
owner
spotify
Data
thumbnail
tracks
Count
type
url
Accessors
total_
pages
total_
tracks
Methods
fetch
page
toJSON
Constructors
constructor
new
Spotify
Playlist
(
data
:
any
, spotifyData
:
SpotifyDataOptions
)
:
SpotifyPlaylist
Parameters
data:
any
spotifyData:
SpotifyDataOptions
Returns
SpotifyPlaylist
Properties
collaborative
collaborative
:
boolean
description
description
:
string
Private
fetched_
tracks
fetched_
tracks
:
<internal>
.
Map
<
string
,
SpotifyTrack
[]
>
id
id
:
string
name
name
:
string
owner
owner
:
SpotifyArtists
Private
spotify
Data
spotify
Data
:
SpotifyDataOptions
thumbnail
thumbnail
:
SpotifyThumbnail
tracks
Count
tracks
Count
:
number
type
type
:
"playlist"
|
"track"
|
"album"
url
url
:
string
Accessors
total_
pages
get
total_pages
(
)
:
number
Returns
number
total_
tracks
get
total_tracks
(
)
:
number
Returns
number
Methods
fetch
fetch
(
)
:
<internal>
.
Promise
<
undefined
|
SpotifyPlaylist
>
Returns
<internal>
.
Promise
<
undefined
|
SpotifyPlaylist
>
page
page
(
num
:
number
)
:
undefined
|
SpotifyTrack
[]
Parameters
num:
number
Returns
undefined
|
SpotifyTrack
[]
toJSON
toJSON
(
)
:
{
collaborative
:
boolean
;
description
:
string
;
id
:
string
;
name
:
string
;
owner
:
SpotifyArtists
;
thumbnail
:
SpotifyThumbnail
;
type
:
"playlist"
|
"track"
|
"album"
;
url
:
string
}
Returns
{
collaborative
:
boolean
;
description
:
string
;
id
:
string
;
name
:
string
;
owner
:
SpotifyArtists
;
thumbnail
:
SpotifyThumbnail
;
type
:
"playlist"
|
"track"
|
"album"
;
url
:
string
}
collaborative
:
boolean
description
:
string
id
:
string
name
:
string
owner
:
SpotifyArtists
thumbnail
:
SpotifyThumbnail
type
:
"playlist"
|
"track"
|
"album"
url
:
string
Exports
<internal>
"node:stream/consumers"
"node:stream/promises"
Event
Emitter
internal
Spotify
Playlist
constructor
collaborative
description
fetched_
tracks
id
name
owner
spotify
Data
thumbnail
tracks
Count
type
url
total_
pages
total_
tracks
fetch
page
toJSON
Generated using
TypeDoc
Class for Spotify Playlist