|
|
|
|
|
by haha69
1230 days ago
|
|
I have been wanting to do similar things. But, shied away because I wasn't in the mood to find out if this sort of thing was legal or not. Can someone here who knows this space better talk about the legal aspect of doing something like this? |
|
There's an API endpoint called audio_features[0] that tells you things about the song (tempo, danceability, acousticness, major/minor key...), so while you can't get full versions of every song, you can approximate how they sound like based on Spotify's audio analysis of them.
So, build a database of audio_features while respecting API limits, find the most similar ones based on about a dozen variables, and you're good to go.
[0] https://developer.spotify.com/documentation/web-api/referenc...