Show latest track played spotify/soundcloud on website?

Anyone know if there is some way to show latest played spotify track on a website? I can’t find anything on google.