IRequestpublic class GetRecommendationsRequest extends AbstractDataRequest
Recommendations are generated based on the available information for a given seed entity and matched against similar
artists and tracks. If there is sufficient information about the provided seeds, a list of tracks will be returned
together with pool size details.
For artists and tracks that are very new or obscure there might not be enough data to generate a list of tracks.
| Modifier and Type | Class | Description |
|---|---|---|
static class |
GetRecommendationsRequest.Builder |
Builder class for building a
GetRecommendationsRequest. |
| Modifier and Type | Method | Description |
|---|---|---|
Recommendations |
execute() |
Get the
Recommendations. |
bodyParametersToJson, deleteJson, executeAsync, getBody, getBodyParameters, getContentType, getHeaders, getHttpManager, getJson, getUri, initializeBody, postJson, putJsonpublic Recommendations execute() throws IOException, SpotifyWebApiException
Recommendations.Recommendations object.IOException - In case of networking issues.SpotifyWebApiException - The Web API returned an error further specified in this exception's root cause.Copyright © 2019. All rights reserved.