Class GetAudioAnalysisForTrackRequest
- java.lang.Object
-
- com.wrapper.spotify.requests.AbstractRequest
-
- com.wrapper.spotify.requests.data.AbstractDataRequest
-
- com.wrapper.spotify.requests.data.tracks.GetAudioAnalysisForTrackRequest
-
- All Implemented Interfaces:
IRequest
public class GetAudioAnalysisForTrackRequest extends AbstractDataRequest
Get a detailed audio analysis for a single track identified by its unique Spotify ID.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetAudioAnalysisForTrackRequest.BuilderBuilder class for building aGetAudioAnalysisForTrackRequest.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AudioAnalysisexecute()Get an audio analyis for a track.-
Methods inherited from class com.wrapper.spotify.requests.AbstractRequest
bodyParametersToJson, deleteJson, executeAsync, getBody, getBodyParameters, getContentType, getHeaders, getHttpManager, getJson, getUri, initializeBody, postJson, putJson
-
-
-
-
Method Detail
-
execute
public AudioAnalysis execute() throws IOException, SpotifyWebApiException
Get an audio analyis for a track.- Returns:
- An
AudioAnalysis. - Throws:
IOException- In case of networking issues.SpotifyWebApiException- The Web API returned an error further specified in this exception's root cause.
-
-