Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TracksApi

Index

Constructors

constructor

Properties

Private http

http: Http

Methods

getAudioAnalysisForTrack

  • getAudioAnalysisForTrack(trackId: string): Promise<AudioAnalysis>
  • Get Audio Analysis for a Track

    Get a detailed audio analysis for a single track identified by its unique Spotify ID.

    Parameters

    • trackId: string

      The Spotify ID for the track.

    Returns Promise<AudioAnalysis>

getAudioFeaturesForTrack

  • getAudioFeaturesForTrack(trackId: string): Promise<AudioFeatures>
  • Get Audio Features for a Track

    Get audio feature information for a single track identified by its unique Spotify ID.

    Parameters

    • trackId: string

      The Spotify ID for the track.

    Returns Promise<AudioFeatures>

getAudioFeaturesForTracks

  • getAudioFeaturesForTracks(trackIds: string[]): Promise<Array<AudioFeatures | null>>
  • Get Audio Features for Several Tracks

    Get audio features for multiple tracks based on their Spotify IDs.

    Parameters

    • trackIds: string[]

      The Spotify IDs for the tracks.

    Returns Promise<Array<AudioFeatures | null>>

getTrack

  • Get a Track

    Get Spotify catalog information for a single track identified by its unique Spotify ID.

    Parameters

    • trackId: string

      The Spotify ID for the track.

    • Optional options: MarketOptions

      Optional request information.

    Returns Promise<Track>

getTracks

  • Get Several Tracks

    Get Spotify catalog information for multiple tracks based on their Spotify IDs.

    Parameters

    • trackIds: string[]

      The Spotify IDs for the tracks.

    • Optional options: MarketOptions

      Optional request information.

    Returns Promise<Array<Track | null>>

Generated using TypeDoc