Constructor for Spotify Album Class
Json parsed album data
Spotify credentials
Spotify Album artists [ array ]
Spotify Album copyright data [ array ]
Spotify Album fetched tracks Map
Spotify Album id
Spotify Album Name
Spotify Album Release date
Spotify Album Release Date precise
Spotify Album Spotify data
Spotify Album Thumbnail data
Spotify Album total no of tracks
Spotify Class type. == "album"
Spotify Album url
Spotify Album total no of pages in a album
For getting all songs in a album,
const album = await play.spotify('album url')
await album.fetch()
const result = []
for (let i = 0; i <= album.tota_pages; i++) {
result.push(album.page(i))
}
Spotify Album total no of tracks that have been fetched so far.
Fetches Spotify Album tracks more than 50 tracks.
For getting all tracks in album, see total_pages property.
Album Class.
Spotify Album tracks are divided in pages.
For example getting data of 51 - 100 videos in a album,
const album = await play.spotify('album url')
await album.fetch()
const result = album.page(2)
Page Number
Generated using TypeDoc
Spotify Album Class