getRecommendations

suspend fun getRecommendations(seeds: RecommendationSeeds, market: CountryCode? = null, limit: Int? = null, tunable: RecommendationTunableAttributes = RecommendationTunableAttributes()): SpotifyApiResponse<Recommendations>

Gets track recommendations from Spotify based on seeds and tuning parameters.

Return

Wrapped Spotify API response with status code and parsed Spotify payload.

Parameters

seeds

Recommendation seed values (seed_artists, seed_tracks, seed_genres) used by Spotify.

market

Market (country) code used to localize and filter content.

limit

Maximum number of items to return in one page.

tunable

Optional recommendation tuning attributes (min_*, max_*, target_* audio features).