Constructor for Spotify Album Class
Json parsed album data
Spotify credentials
Spotify Album artists [ array ]
Spotify Album copyright data [ array ]
Spotify Album id
Spotify Album Name
Spotify Album Release date
Spotify Album Release Date precise
Spotify Album Thumbnail data
Spotify Album total no of tracks
Spotify Class type. == "album"
Spotify Album url
Spotify Album total no of tracks that have been fetched so far.
Fetches all the tracks in the album and returns them
const album = await play.spotify('album url')
const tracks = await album.all_tracks()
An array of SpotifyTrack
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
Spotify Album Class