Albums

Albums

new Albums(spotify)

Creates a new Albums instance
Source:
Parameters:
Name Type Description
spotify Spotify

Methods

getAlbum(album)

Get Spotify catalog information for a single album.
Source:
Parameters:
Name Type Description
album String id

getAlbums(ids)

Gets spotify catalog information for multiple albums identified by their spotify ids
Source:
Parameters:
Name Type Description
ids Array of album ids; Max 20

getAlbumTracks(id, limit)

Get Spotify catalog information about an album’s tracks. Optional parameters can be used to limit the number of tracks returned.
Source:
Parameters:
Name Type Default Description
id String album id
limit Number 20 Min: 1; Max: 50; Default: 20