Options
All
  • Public
  • Public/Protected
  • All
Menu

Class for Spotify Album

Hierarchy

  • SpotifyAlbum

Index

Constructors

constructor

Properties

artists

artists: SpotifyArtists[]

copyrights

copyrights: SpotifyCopyright[]

Private fetched_tracks

fetched_tracks: <internal>.Map<string, SpotifyTrack[]>

id

id: string

name

name: string

release_date

release_date: string

release_date_precision

release_date_precision: string

Private spotifyData

spotifyData: SpotifyDataOptions

thumbnail

thumbnail: SpotifyThumbnail

tracksCount

tracksCount: number

type

type: "playlist" | "track" | "album"

url

url: string

Accessors

total_pages

  • get total_pages(): number

total_tracks

  • get total_tracks(): number

Methods

fetch

page

toJSON

  • toJSON(): { artists: SpotifyArtists[]; copyrights: SpotifyCopyright[]; name: string; release_date: string; release_date_precision: string; thumbnail: SpotifyThumbnail; total_tracks: number; type: "playlist" | "track" | "album"; url: string }

Generated using TypeDoc