Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents an artist on Spotify

Hierarchy

Index

Constructors

constructor

Properties

client

client: Client

The client that instantiated this class

externalUrls

externalUrls: ExternalUrl

Known external URLs for this artist

followers

followers: Followers

Information about the followers of the artist

genres

genres: string[]

A list of the genres the artist is associated with

href

href: string

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

id

id: string

The Spotify ID of the structure

images

images: Image[]

Images of the artist in various sizes, widest first

name

name: string

The name of the artist

popularity

popularity: number

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

rawObjectType

rawObjectType: string

The raw object type returned by the API: artist

uri

uri: string

The Spotify URI for the artist

Methods

Private _patchImages

  • _patchImages(data: ImageObject[]): Image[]

fetchAlbums

fetchRelatedArtist

fetchTopTracks

Legend

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

Generated using TypeDoc