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
Boolean to tell whether it is a searched result or not.
Spotify Album Spotify data
Spotify Album Thumbnail data
Spotify Album total no of tracks
Spotify Class type. == "album"
Spotify Album url
Gets total number of pages in that album class.
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
Converts Class to JSON
JSON data
Generated using TypeDoc
Spotify Album Class