Class GetUsersTopTracksRequest

All Implemented Interfaces:
IRequest<Paging<Track>>

public class GetUsersTopTracksRequest extends AbstractDataRequest<Paging<Track>>
Get the current user's top artists or tracks based on calculated affinity.
See Also:
  • Method Details

    • execute

      public Paging<Track> execute() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException
      Send the request.
      Returns:
      Pages of artists or tracks
      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 - The response could not be parsed.