Class GetSeveralTracksRequest

All Implemented Interfaces:
IRequest<Track[]>

public class GetSeveralTracksRequest extends AbstractDataRequest<Track[]>
Get Spotify catalog information for multiple tracks based on their Spotify IDs.
  • Method Details

    • execute

      public Track[] execute() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException
      Get several tracks.
      Returns:
      Multiple Track objects.
      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 - If a parsing error occurs.