Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SearchApi

Index

Constructors

constructor

Properties

Private http

http: Http

Methods

search

  • Search for an Item

    Get Spotify Catalog information about albums, artists, playlists, tracks, shows, or episodes that match a keyword string.

    Parameters

    • query: string

      Search query keywords, optional field filters, and operators.

    • type: SearchType[]

      The item types to search across.

    • Optional options: SearchOptions

      Optional request information.

    Returns Promise<SearchResponse>

searchAlbums

  • Search for an Album

    Get Spotify Catalog information about albums that match a keyword string.

    Parameters

    • query: string

      Search query keywords, optional field filters, and operators.

    • Optional options: SearchOptions

      Optional request information.

    Returns Promise<Paging<SimplifiedAlbum>>

searchArtists

  • Search for an Artist

    Get Spotify Catalog information about artists that match a keyword string.

    Parameters

    • query: string

      Search query keywords, optional field filters, and operators.

    • Optional options: SearchOptions

      Optional request information.

    Returns Promise<Paging<Artist>>

searchEpisodes

  • Search for an Episode

    Get Spotify Catalog information about episodes that match a keyword string.

    Parameters

    • query: string

      Search query keywords, optional field filters, and operators.

    • Optional options: SearchOptions

      Optional request information.

    Returns Promise<Paging<SimplifiedEpisode>>

searchPlaylists

  • Search for a Playlist

    Get Spotify Catalog information about playlists that match a keyword string.

    Parameters

    • query: string

      Search query keywords, optional field filters, and operators.

    • Optional options: SearchOptions

      Optional request information.

    Returns Promise<Paging<SimplifiedPlaylist>>

searchShows

  • Search for a Show

    Get Spotify Catalog information about shows that match a keyword string.

    Parameters

    • query: string

      Search query keywords, optional field filters, and operators.

    • Optional options: SearchOptions

      Optional request information.

    Returns Promise<Paging<SimplifiedShow>>

searchTracks

  • Search for a Track

    Get Spotify Catalog information about tracks that match a keyword string.

    Parameters

    • query: string

      Search query keywords, optional field filters, and operators.

    • Optional options: SearchOptions

      Optional request information.

    Returns Promise<Paging<Track>>

Generated using TypeDoc