Class SearchShowsRequest
- java.lang.Object
-
- se.michaelthelin.spotify.requests.AbstractRequest<T>
-
- se.michaelthelin.spotify.requests.data.AbstractDataRequest<Paging<ShowSimplified>>
-
- se.michaelthelin.spotify.requests.data.search.simplified.SearchShowsRequest
-
- All Implemented Interfaces:
IRequest<Paging<ShowSimplified>>
public class SearchShowsRequest extends AbstractDataRequest<Paging<ShowSimplified>>
Get Spotify catalog information about shows that match a keyword string.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchShowsRequest.BuilderBuilder class for building aSearchShowsRequest.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Paging<ShowSimplified>execute()Search for shows.-
Methods inherited from class se.michaelthelin.spotify.requests.AbstractRequest
bodyParametersToJson, deleteJson, executeAsync, getBody, getBodyParameters, getContentType, getHeaders, getHttpManager, getJson, getUri, initializeBody, postJson, putJson
-
-
-
-
Method Detail
-
execute
public Paging<ShowSimplified> execute() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException
Search for shows.- Returns:
- An array of
ShowSimplifiedobjects wrapped in aPagingobject. - Throws:
IOException- In case of networking issues.SpotifyWebApiException- The Web API returned an error further specified in this exception's root cause.org.apache.hc.core5.http.ParseException
-
-