You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use SpotifyClient.Browse.GetRecommendations to get a list of recommended tracks based on an existing track. This takes in a RecommendationRequest parameter.
The docs mention providing a "given seed," which can be the existing track URI, but I simply can't figure out how you are supposed to do this, since the RecommendationRequest properties are all read-only and the constructor doesn't take any values.
I found a separate class called RecommendationSeed, which allows you to set the ID, but there's no obvious way to send this to the Request. What am I missing here?
*Edit - solved, I realized that the seed properties in RecommendationRequest are actually just Lists you can .add to; please disregard!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, love this project, thank you.
I'm trying to use SpotifyClient.Browse.GetRecommendations to get a list of recommended tracks based on an existing track. This takes in a RecommendationRequest parameter.
The docs mention providing a "given seed," which can be the existing track URI, but I simply can't figure out how you are supposed to do this, since the RecommendationRequest properties are all read-only and the constructor doesn't take any values.
I found a separate class called RecommendationSeed, which allows you to set the ID, but there's no obvious way to send this to the Request. What am I missing here?
*Edit - solved, I realized that the seed properties in RecommendationRequest are actually just Lists you can .add to; please disregard!
Beta Was this translation helpful? Give feedback.
All reactions