Playing Songs from Spotify Dataset

Student is trying to create an app that plays music using Spotify charts provided in App Lab Data. The chart has a URL column, but the URLs are not .mp3 and therefore does not seem to work with the playSound() command. Is there another way to do that within the app, or is window.open() the best option?

Since there is no direct access to the mp3 files, window.open() might be the best option.

1 Like

More documentation on the Spotify API is here, but it looks like playing a song in App Lab is probably not supported: Web API Tutorial | Spotify for Developers

2 Likes

Thanks for this! I wouldn’t be surprised if this comes up again soon as my students start to dive into their creative tasks this spring.