Search
Preparing search index...
The search index is not available
play-dl
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
play-dl
<internal>
SpotifyAlbum
Class SpotifyAlbum
Class for Spotify Album
Hierarchy
SpotifyAlbum
Index
Constructors
constructor
Properties
artists
copyrights
fetched_
tracks
id
name
release_
date
release_
date_
precision
spotify
Data
thumbnail
tracks
Count
type
url
Accessors
total_
pages
total_
tracks
Methods
fetch
page
toJSON
Constructors
constructor
new
Spotify
Album
(
data
:
any
, spotifyData
:
SpotifyDataOptions
)
:
SpotifyAlbum
Parameters
data:
any
spotifyData:
SpotifyDataOptions
Returns
SpotifyAlbum
Properties
artists
artists
:
SpotifyArtists
[]
copyrights
copyrights
:
SpotifyCopyright
[]
Private
fetched_
tracks
fetched_
tracks
:
<internal>
.
Map
<
string
,
SpotifyTrack
[]
>
id
id
:
string
name
name
:
string
release_
date
release_
date
:
string
release_
date_
precision
release_
date_
precision
:
string
Private
spotify
Data
spotify
Data
:
SpotifyDataOptions
thumbnail
thumbnail
:
SpotifyThumbnail
tracks
Count
tracks
Count
:
number
type
type
:
"album"
|
"playlist"
|
"track"
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
|
SpotifyAlbum
>
Returns
<internal>
.
Promise
<
undefined
|
SpotifyAlbum
>
page
page
(
num
:
number
)
:
undefined
|
SpotifyTrack
[]
Parameters
num:
number
Returns
undefined
|
SpotifyTrack
[]
toJSON
toJSON
(
)
:
{
artists
:
SpotifyArtists
[]
;
copyrights
:
SpotifyCopyright
[]
;
name
:
string
;
release_date
:
string
;
release_date_precision
:
string
;
thumbnail
:
SpotifyThumbnail
;
total_tracks
:
number
;
type
:
"album"
|
"playlist"
|
"track"
;
url
:
string
}
Returns
{
artists
:
SpotifyArtists
[]
;
copyrights
:
SpotifyCopyright
[]
;
name
:
string
;
release_date
:
string
;
release_date_precision
:
string
;
thumbnail
:
SpotifyThumbnail
;
total_tracks
:
number
;
type
:
"album"
|
"playlist"
|
"track"
;
url
:
string
}
artists
:
SpotifyArtists
[]
copyrights
:
SpotifyCopyright
[]
name
:
string
release_
date
:
string
release_
date_
precision
:
string
thumbnail
:
SpotifyThumbnail
total_
tracks
:
number
type
:
"album"
|
"playlist"
|
"track"
url
:
string
Exports
<internal>
"node:stream/consumers"
"node:stream/promises"
Event
Emitter
internal
Spotify
Album
constructor
artists
copyrights
fetched_
tracks
id
name
release_
date
release_
date_
precision
spotify
Data
thumbnail
tracks
Count
type
url
total_
pages
total_
tracks
fetch
page
toJSON
Generated using
TypeDoc
Class for Spotify Album