Class GetListOfNewReleasesRequest
- java.lang.Object
-
- com.wrapper.spotify.requests.AbstractRequest
-
- com.wrapper.spotify.requests.data.AbstractDataRequest
-
- com.wrapper.spotify.requests.data.browse.GetListOfNewReleasesRequest
-
- All Implemented Interfaces:
IRequest
public class GetListOfNewReleasesRequest extends AbstractDataRequest
Get a list of new album releases featured in Spotify (shown, for example, on a Spotify player’s "Browse" tab).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetListOfNewReleasesRequest.BuilderBuilder class for building aGetListOfNewReleasesRequest.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Paging<AlbumSimplified>execute()Get a paging of newAlbumSimplifiedreleases.-
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 Paging<AlbumSimplified> execute() throws IOException, SpotifyWebApiException
Get a paging of newAlbumSimplifiedreleases.- Returns:
- An
AlbumSimplifiedpaging. - Throws:
IOException- In case of networking issues.SpotifyWebApiException- The Web API returned an error further specified in this exception's root cause.
-
-