Page 1 of 1

Using MicroPython to stream spotify and output it using I2S

Posted: Mon Apr 27, 2020 12:41 am
by guitarman513
Hello,
I'm in the process of making an RFID juke box, where a user scans a tag (corresponding to an album) and an album is then streamed from spotify.

My current plan is to use micropython to stream some audio using this github repo:
https://github.com/miketeachman/micropy ... s-examples

However, I'm having trouble figuring out how to actually get the stream data from spotify. I know the spotify API allows you to search for songs and playlists and such, but how would one get the raw data for streaming out?