Spotify has recently launched their app platform. It is basically a way for developers to use HTML5 to integrate into their desktop app.
Using their API and app platform, developers can creating streaming apps. Also discovering of music and playlists.
What you can't do, of course, is to download the songs.