Class GetListOfFeaturedPlaylistsRequest
- java.lang.Object
-
- com.wrapper.spotify.requests.AbstractRequest<T>
-
- com.wrapper.spotify.requests.data.AbstractDataRequest<FeaturedPlaylists>
-
- com.wrapper.spotify.requests.data.browse.GetListOfFeaturedPlaylistsRequest
-
- All Implemented Interfaces:
IRequest<FeaturedPlaylists>
public class GetListOfFeaturedPlaylistsRequest extends AbstractDataRequest<FeaturedPlaylists>
Get a list of Spotify featured playlists (shown, for example, on a Spotify player’s "Browse" tab).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetListOfFeaturedPlaylistsRequest.BuilderBuilder class for building aGetListOfFeaturedPlaylistsRequest.
-
Method Summary
Modifier and Type Method Description FeaturedPlaylistsexecute()GetFeaturedPlaylistssynchronously.-
Methods inherited from class com.wrapper.spotify.requests.AbstractRequest
bodyParametersToJson, deleteJson, executeAsync, getBody, getBodyParameters, getContentType, getHeaders, getHttpManager, getJson, getUri, initializeBody, postJson, putJson
-
-
-
-
Method Detail
-
execute
public FeaturedPlaylists execute() throws java.io.IOException, SpotifyWebApiException
GetFeaturedPlaylistssynchronously.- Returns:
- A
FeaturedPlaylistsobject. - Throws:
java.io.IOException- In case of networking issues.SpotifyWebApiException- The Web API returned an error further specified in this exception's root cause.
-
-