Is it possible to have dotstar Leds sync with spotify?

I want to play songs off spotify which will sync my dotstar LEDs to the song. I have seen other people doing something similar but im not sure exactly how they did it.