Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Methods

albums

get

  • get(id: string): Promise<Artist>

list

  • list(ids: string[]): Promise<Artist[]>

related

  • related(id: string): Promise<Artist[]>

topTracks

  • description

    Get top tracks from artist by ID.

    Parameters

    • id: string
    • Optional market: Markets

      An ISO 3166-1 alpha-2 country code. If a country code is specified, only episodes that are available in that market will be returned. If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter. Note: If neither market or user country are provided, the content is considered unavailable for the client.

    Returns Promise<Track[]>

    Returns a promise with an array of Tracks.

Generated using TypeDoc