Create a new API endpoint to get the duration information for each song in the playlist. The idea is that the data can return an object to plot a density function for the duration
Required Params: Spotify Playlist ID Number
Headers: Authorization: <access_token>
Route: <playlist_id>/analysis/duration
Return Type: JSON Object
Format: {bins: <array of bins>, counts: <array of counts> }
Allows for easy integration into a density plot with Chart.JS as a psuedo-historgram.
Create a new API endpoint to get the duration information for each song in the playlist. The idea is that the data can return an object to plot a density function for the duration
Required Params:
Spotify Playlist ID Number
Headers:Authorization: <access_token>
Route:<playlist_id>/analysis/duration
Return Type:JSON Object
Format:{bins: <array of bins>, counts: <array of counts> }
Allows for easy integration into a density plot with Chart.JS as a psuedo-historgram.