[][src]Function aspotify::endpoints::browse::get_recommendations

pub async fn get_recommendations<'iter, '_, '_, '_, '_, '_, '_, '_, I>(
    token: &'_ AccessToken,
    seed_artists: &'_ [&'_ str],
    seed_genres: &'_ [&'_ str],
    seed_tracks: &'_ [&'_ str],
    attributes: I,
    limit: usize,
    market: Option<Market>
) -> Result<Recommendations, EndpointError<Error>> where
    I: IntoIterator<Item = &'iter (&'iter str, &'iter str)>, 

Get recommendations.

Up to 5 seed values may be provided, that can be distributed in seed_artists, seed_genres and seed_tracks in any way. Limit must be in the range [1..100] and this target number of tracks may not always be met.

attributes is a map of keys and values. See the reference for more info on this.

Reference.