Package de.sonallux.spotify.api.apis
Class SearchApi
- java.lang.Object
-
- de.sonallux.spotify.api.apis.SearchApi
-
public class SearchApi extends Object
-
-
Constructor Summary
Constructors Constructor Description SearchApi()
-
-
-
Method Detail
-
search
public SearchRequest search(String q, String type)
Search for an Item
Get Spotify Catalog information about albums, artists, playlists, tracks, shows or episodes that match a keyword string.
- Parameters:
q-Search query keywords and optional field filters and operators.
For example:q=roadhouse%20blues.type-A comma-separated list of item types to search across.
Valid types are:album,artist,playlist,track,showandepisode.
Search results include hits from all the specified item types.
For example:q=name:abacab&type=album,trackreturns both albums and tracks with "abacab" included in their name.- Returns:
- a
SearchRequestobject to build and execute the request
-
-