Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents an album on Spotify

Hierarchy

Index

Constructors

constructor

Properties

artists

artists: Collection<string, SimplifiedArtist>

The artists of the album

availableMarkets

availableMarkets: string[]

The markets in which the album is available

client

client: Client

The client that instantiated this class

copyrights

copyrights: Copyright[]

The copyright statements of the album

externalIds

externalIds: ExternalId

Known external IDs for the album

externalUrls

externalUrls: ExternalUrl

Known external URLs for the album

genres

genres: string[]

A list of the genres used to classify the album

href

href: string

A link to the Web API endpoint providing full details of the album

id

id: string

The Spotify ID of the structure

images

images: Image[]

The cover art for the album in various sizes, widest first

label

label: string

The label for the album

name

name: string

The name of the album

popularity

popularity: number

The popularity of the album. The value will be between 0 and 100, with 100 being the most popular. The popularity is calculated from the popularity of the album’s individual tracks

rawObjectType

rawObjectType: string

The raw object type returned by the api: album

releaseDate

releaseDate: string

The date the album was first released, for example 1981-12-15. Depending on the precision, it might be shown as 1981 or 1981-12

releaseDatePrecision

releaseDatePrecision: string

The precision with which releaseDate value is known: year, month, or day

restrictions

restrictions: null | AlbumRestriction

Included in the response when a content restriction is applied

tracks

tracks: Page<SimplifiedTrackObject, SimplifiedTrack>

The tracks of the album

type

type: string

The type of the album

uri

uri: string

The Spotify URI for the album

Methods

Private _patchCopyrights

  • _patchCopyrights(data: CopyrightObject[]): Copyright[]

fetchTracks

Legend

  • Constructor
  • Property
  • Method
  • Constructor
  • Property
  • Inherited property
  • Inherited method
  • Protected property
  • Protected method
  • Private property
  • Private method

Generated using TypeDoc