Interface SearchSpotifyService


  • public interface SearchSpotifyService
    • Method Detail

      • searchAlbums

        @GET("search?type=album")
        retrofit2.Call<AlbumsPager> searchAlbums​(@Query("q")
                                                 String q)
        Get Spotify catalog information about albums that match a keyword string.
        Parameters:
        q - The search query's keywords (and optional field filters and operators), for example "roadhouse+blues"
        Returns:
        A paginated list of results
        See Also:
        Search for an Item
      • searchAlbums

        @GET("search?type=album")
        retrofit2.Call<AlbumsPager> searchAlbums​(@Query("q")
                                                 String q,
                                                 @QueryMap
                                                 Map<String,​Object> options)
        Get Spotify catalog information about albums that match a keyword string.
        Parameters:
        q - The search query's keywords (and optional field filters and operators), for example "roadhouse+blues"
        options - Optional parameters. For list of supported parameters see endpoint documentation
        Returns:
        A paginated list of results
        See Also:
        Search for an Item
      • searchArtists

        @GET("search?type=artist")
        retrofit2.Call<ArtistsPager> searchArtists​(@Query("q")
                                                   String q)
        Get Spotify catalog information about artists that match a keyword string.
        Parameters:
        q - The search query's keywords (and optional field filters and operators), for example "roadhouse+blues"
        Returns:
        A paginated list of results
        See Also:
        Search for an Item
      • searchArtists

        @GET("search?type=artist")
        retrofit2.Call<ArtistsPager> searchArtists​(@Query("q")
                                                   String q,
                                                   @QueryMap
                                                   Map<String,​Object> options)
        Get Spotify catalog information about artists that match a keyword string.
        Parameters:
        q - The search query's keywords (and optional field filters and operators), for example "roadhouse+blues"
        options - Optional parameters. For list of supported parameters see endpoint documentation
        Returns:
        A paginated list of results
        See Also:
        Search for an Item
      • searchPlaylists

        @GET("search?type=playlist")
        retrofit2.Call<PlaylistsPager> searchPlaylists​(@Query("q")
                                                       String q)
        Get Spotify catalog information about playlists that match a keyword string.
        Parameters:
        q - The search query's keywords (and optional field filters and operators), for example "roadhouse+blues"
        Returns:
        A paginated list of results
        See Also:
        Search for an Item
      • searchPlaylists

        @GET("search?type=playlist")
        retrofit2.Call<PlaylistsPager> searchPlaylists​(@Query("q")
                                                       String q,
                                                       @QueryMap
                                                       Map<String,​Object> options)
        Get Spotify catalog information about playlists that match a keyword string.
        Parameters:
        q - The search query's keywords (and optional field filters and operators), for example "roadhouse+blues"
        options - Optional parameters. For list of supported parameters see endpoint documentation
        Returns:
        A paginated list of results
        See Also:
        Search for an Item
      • searchTracks

        @GET("search?type=track")
        retrofit2.Call<TracksPager> searchTracks​(@Query("q")
                                                 String q)
        Get Spotify catalog information about tracks that match a keyword string.
        Parameters:
        q - The search query's keywords (and optional field filters and operators), for example "roadhouse+blues"
        Returns:
        A paginated list of results
        See Also:
        Search for an Item
      • searchTracks

        @GET("search?type=track")
        retrofit2.Call<TracksPager> searchTracks​(@Query("q")
                                                 String q,
                                                 @QueryMap
                                                 Map<String,​Object> options)
        Get Spotify catalog information about tracks that match a keyword string.
        Parameters:
        q - The search query's keywords (and optional field filters and operators), for example "roadhouse+blues"
        options - Optional parameters. For list of supported parameters see endpoint documentation
        Returns:
        A paginated list of results
        See Also:
        Search for an Item