Official Spotify Updates – JSON version

For months now Spotify have stopped doing the Google Spreadsheets to let people know what has recently been added to the service. What’s worse, decease it caused a lot of problems for fan-made services like spotify.fm and – until I worked around it – Spotibot. This has upset a lot of people.

Well, story a couple of days ago Spotify developer Rasmus produced a site “Latest Releases on Spotify” which takes a good guess of what’s new based on Spotify’s metadata API. I assumed it was a hack, one health but the latest blog post suggests it’s now the official solution.

Like a top fella he open-sourced his script, so in the hopes of helping to re-ignite the third-party developer scene I’ve made some minor changes to output the exact same list in JSON format. Get the feed here:

http://spotify.andysmith.co.uk/updates/latest_v1.json

If you’re unfamiliar with JSON it’s pretty straightforward. If you’re a PHP developer just read that URL into a string using file_get_contents() then run json_decode() on it.

Although I’ve produced the service, I’ve yet to consume it. Please let me know if there are problems or improvements I can make. Note the version number – if I make a big change I will update that number but keep the old ones running. That way any apps you make will still work.

Drop me a comment below if you find a use for it!

4 Responses to “Official Spotify Updates – JSON version”

  1. Afront Says:

    Hooray! It’s kinda the same as your original script though, no? Both seem to use q=tag:new

  2. admin Says:

    It is based on the same underlying process, but I never got round to JSON-ing mine. This was based on Rasmus’ code, which should be pretty solid ’cause he works for Spotify! 🙂

  3. Andy Says:

    Rasmus’ source code was slightly out-of-sync with the live code. He just updated it, and I have reflected the changes in mine. Thanks Rasmus!

    Rasmus’ source: http://hunch.se/spotify/new-releases/index.php.txt

  4. Rasmus Says:

    I’m glad you like it. Check out http://developer.spotify.com/ for complete documentation and examples.