Functions§
- Authenticates a
Spotifyclient with the spotify api.client_idandclient_secretcan be gathered from spotify’s developer workspace by registering an app. - Calculates a histogram of the genres in the playlist with id
playlist. Returns a vector of pairs (genre_name:String, amount:u64). Needs aSpotifyclient.