Hierarchy (view full)

Constructors

Methods

  • Parameters

    • ids: string[]

    Returns Promise<boolean[]>

    Returns a promise with the an array of booleans.

    Check if one or more tracks is saved in the current user's library. (required scropes: user-library-read).

  • Returns Promise<PlayerState>

    Returns a promise with the current playback state.

    Get information about the user’s current playback state, including track or episode, progress, and active device.

  • Parameters

    • ids: string[]

      Array of IDs.

    Returns Promise<void>

    Save multiple tracks by ID. (required scropes: user-library-read).

  • Parameters

    • id: string

      The Spotify ID of the playlist to unfollow.

    Returns Promise<void>

    Remove the current user as a follower of a playlist.

  • Parameters

    • ids: string[]

      Array of IDs.

    Returns Promise<void>

    Remove multiple saved tracks by ID. (required scropes: user-library-read).