Class GetSeveralShowsRequest
- java.lang.Object
-
- se.michaelthelin.spotify.requests.AbstractRequest<T>
-
- se.michaelthelin.spotify.requests.data.AbstractDataRequest<ShowSimplified[]>
-
- se.michaelthelin.spotify.requests.data.shows.GetSeveralShowsRequest
-
- All Implemented Interfaces:
IRequest<ShowSimplified[]>
public class GetSeveralShowsRequest extends AbstractDataRequest<ShowSimplified[]>
Get Spotify catalog information for multiple shows based on their Spotify IDs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetSeveralShowsRequest.BuilderBuilder class for building aGetSeveralShowsRequest.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShowSimplified[]execute()Get several 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 ShowSimplified[] execute() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException
Get several shows.- Returns:
- Multiple
ShowSimplifiedobjects. - 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
-
-