Class GetArtistsTopTracksRequest

  • All Implemented Interfaces:
    IRequest<Track[]>

    public class GetArtistsTopTracksRequest
    extends AbstractDataRequest<Track[]>
    Get Spotify catalog information about an artist’s top tracks by country.
    • Method Detail

      • execute

        public Track[] execute()
                        throws java.io.IOException,
                               SpotifyWebApiException
        Get the top Track objects.
        Returns:
        An array of Track objects.
        Throws:
        java.io.IOException - In case of networking issues.
        SpotifyWebApiException - The Web API returned an error further specified in this exception's root cause.