T - The request ModelObjectType: artist or track.public class GetUsersTopArtistsAndTracksRequest<T extends IArtistTrackModelObject> extends AbstractDataRequest<Paging<T>>
GetUsersTopArtistsRequest and
GetUsersTopTracksRequest instead.| Modifier and Type | Class and Description |
|---|---|
static class |
GetUsersTopArtistsAndTracksRequest.Builder<T extends IArtistTrackModelObject>
Builder class for building a
GetUsersTopArtistsAndTracksRequest. |
| Modifier and Type | Method and Description |
|---|---|
Paging<T> |
execute()
Get the top artists and tracks.
|
bodyParametersToJson, deleteJson, executeAsync, getBody, getBodyParameters, getContentType, getHeaders, getHttpManager, getJson, getUri, initializeBody, postJson, putJsonpublic Paging<T> execute() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException
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.ParseExceptionCopyright © 2020. All rights reserved.