Class GetTrackRequest

  • All Implemented Interfaces:
    IRequest<Track>

    public class GetTrackRequest
    extends AbstractDataRequest<Track>
    Get Spotify catalog information for a single track identified by its unique Spotify ID.
    • Method Detail

      • execute

        public Track execute()
                      throws java.io.IOException,
                             SpotifyWebApiException
        Get a track.
        Returns:
        A Track.
        Throws:
        java.io.IOException - In case of networking issues.
        SpotifyWebApiException - The Web API returned an error further specified in this exception's root cause.