Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

client

client: Client

The client that instantiated this class

externalUrls

externalUrls: ExternalUrl

Known external URLs for this artist

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

name

name: string

The name of the artist

rawObjectType

rawObjectType: string

The raw object type returned by the API: artist

uri

uri: string

The Spotify URI for the artist

Methods

fetchAlbums

fetchRelatedArtist

fetchTopTracks

  • Fetches top ten tracks of the artist from a given market

    Parameters

    • market: string

      The market to consider for the top tracks

    Returns Promise<Collection<string, Track>>

    A collection of Track objects as a Promise

Legend

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

Generated using TypeDoc