Spotify Developer News

Music Hack Day Paris 2014 Recap

| By José M. Pérez

Last weekend we attended the Music Hack Day in Paris at Deezer’s HQ. There we gave an update about the latest developer tools we have released, and the ones we were working on. We announced an update of the iOS SDK Beta, which nows exposes cover art, artist images and 30s audio previews. In addition, we showed a sneak peek of our new Web API, that we used ourselves to build 2 projects during the hack day: 30s Drum Machine and Spotify iQuz.

Music Hack Day Paris 2014

There were a number of very interesting projects using APIs and SDKs by multiple services. We chose Vibe Jukebox as the winning project using Spotify. It is an iOS app that adds the user’s favorite tracks to a collaborative room. You can find the whole list of projects on HackerLeague.

Recap from Developer Brunch at SxSW

| By Ronald Pompa

Last week we invited our friends from the developer community at SXSW to join us for some exciting news about our platform. We started off with a developer brunch between the Interactive and Music days.

Even though it was a cold and rainy day, in what is usually a hot and sunny Austin, we had a great bunch of curious people and developers joining us for a new chapter in Spotify’s platform history.

We opened up with a recap of the past. We’ve had our platform available for over 5 years now! We’ve met great people on the way, including participants at Music Hack Days and other exciting events. A showcase highlighted some of our favorite apps built on the platform, including SoundHound, SpotOn Radio, MusiXmatch and more.

Just recently we made the announcement of releasing our first DJ app integration together with Pacemaker, and we were honored to have Jonas Norberg, CEO and Co-founder, from Pacemaker Music to give us a DJ demo and sharing his experience with finally democratizing music and using Spotify to power and achieve his goal.

Following the exciting demo, we finally announced a new iOS SDK. With the learnings and feedback we’ve got over the past years, we made an SDK for the new mobile age. We’re super excited to get developers jumping on the new SDK and we love to hear what you think.

Don’t worry, Android developers, we also got you covered. We announced that we’ve started working on an SDK for Android and will release it very shortly.

But not everything was about mobile. We touched base on what we think is important for the future of the platform and how we can enable developers to create better music experiences. We’re talking about data!

We want to enable developers to create rich experiences with Spotify data. Everything from simple metadata about music to personal user data.

To achieve this, we’re in the final steps of releasing a new authentication & authorization platform, using standard OAuth2 to allow developers to securely take part of data from users with their trust. To accompany this, we’re also releasing a brand new Web API. To begin with, we’ll have endpoints to share user information, playlisting and rich music object metadata, including 30 second preview tracks.

We ended the presentation with finally announcing that we’re opening up the Spotify Connect API to more vendors and developers very soon, creating endless possibilities to control and sync music context across apps and audio hardware.

SxSW was great! We enjoyed talking to everyone and getting valuable feedback on our platform. We already know amazing apps will start popping up in the near future.

Check out the presentation slides from the brunch:

The Echo Nest Joins Spotify

| By Ronald Pompa

echonest-spotify

As you might have heard, today we’re super excited to announce that we’re joining forces with pioneering music company, The Echo Nest.

As a developer it’s likely that you’ve used the Echo Nest’s amazing open API at some point and we’re happy to say we’ll be keeping it alive and well with the Echo Nest team. We’re also looking forward to working with them more closely on providing the best developer offering possible for people wanting to build music apps.

More news to come, and please read the Echo Nest’s Paul Lamere’s excellent blog post on the partnership and the official press announcement.

Here’s to new friends!

Announcing the new Spotify iOS SDK Beta

| By Dan

New iOS SDK Header

Great news! Today we’re announcing the availability of a completely new iOS SDK for Spotify. The new API has been written from the ground up to be a fast, lightweight SDK for accessing Spotify services in your iOS App, including search, playlists, metadata lookup, audio playback and more.

The SDK is currently in the early beta stages, and is consequently missing some functionality when compared to CocoaLibSpotify.

Why start from the ground up?


New Project

It’s common to want to start afresh with a project, but with an established API with lots of users, it’s not a decision to take lightly. Our concern with CocoaLibSpotify is the amount of CPU and RAM resources it can use, especially with users that have a large amount of playlists.

Indeed, you’ll see a fairly significant amount of work put into reducing CocoaLibSpotify’s footprint on its dev branch, but the fact is that CocoaLibSpotify is a heavy library. This is partly due to the underlying libspotify library, and partly due to the core design of CocoaLibSpotify — managing mutable objects, no ability to “unload” metadata and playlists, internally marshalling a huge amount of calls between threads and so on does not a lightweight library make!

It was clear we’d have to change CocoaLibSpotify’s APIs significantly to achieve our goal of a lightweight Spotify API. Once the decision to do this was made, it suddenly opened up a lot of possibilities — why not lose our legacy code entirely and build on a modern, lightweight platform?

That’s exactly what we did, and here were are today. Since we’ve started completely from scratch there’ll be a break-in period while we stabilise things and fill in the functionality gaps, but we think releasing a beta publicly will help shape the new iOS SDK for the better.

Try it now!


Remember: The new iOS SDK is currently in early beta and is missing some functionality and may be buggy.

Head over to the project’s GitHub page to give it a try. You’ll need Xcode 5 or higher and iOS 7 running on your device.

Don’t forget to give your feedback in the issue tracker!

Hackathons and meetups @ SxSW 2014

| By Andrew Mager

Join the Spotify Platform team in Austin for a Texas taco brunch at the Spotify House on Sunday, March 9th from 10:00 a.m. to noon. We’ll be giving an update on the platform and you’ll get to meet and chat with us if you have questions.

Please RSVP here.

Screen Shot 2014-02-20 at 10.46.10 PM

We’re also doing two hackathons:

SxSW Music Hack Championship: Compete with other music hackers to win a bunch of prizes, including a $10,000 grand prize. Judges include Shawn Fanning, Mack Maine, and Alex Ebert from Edward Sharpe And The Magnetic Zeros.

sxsw_hackchampionship_logo_4c (1)-inpost

Slashathon: Yep, that’s right, Slash is throwing a hackathon.

slashathon

Both events are on Wednesday, March 12th. RSVP in the links above.

Hope to see you there! Follow @SpotifyPlatform for updates.

Hack Day Recap: Music Hack Day Tokyo 2014

| By Andrew Mager

Konnichiwa! Our first hackathon in Asia was fun, enlightening, and impressive. Japanese creators had no trouble building awesome hacks on the Spotify Platform.

mhd-tokyo1

Here are some of our favorites from the event:

Tokyo Tune Train – Built by Paul Lamere from The Echo Nest, this web game lets you upload or search for a song, and then navigate a busy “beatmap” with the keyboard arrows. Check out the demo video:

ASCIIVIS is a Spotify app that uses ASCII art to build a realtime visualization.

Screen Shot 2014-02-27 at 3.50.36 PM

StreetMusic for Spotify lets you listen to music through your phone’s earpice, so you can pretend to be on a phone call while walking.

Digroove is a mobile app that recommends events and artists that you might like. You can buy tickets right in the app.

SoundTypography is a beautiful text visualization that matches the beat of the song currently playing.

Screen Shot 2014-02-28 at 4.51.42 PM

Spincoaster uses an iBeacon and Bluetooth to talk to an iPhone app that creates a playlist based on on a given mood or genre.

Twicc was our favorite hack. In this mobile app, you login with your Twitter & Spotify accounts and see a feed of every tweet mentioning a song. You can then click the play button to listen to that song. They will submit to the App Store in one month.

12786682163_d40901429e_b

You can find all the hacks on Hacker League. Special thanks to Haruna Haze from Social Media Week, Taishi Fukuyama from The Echo Nest, and Hannes Graah from Spotify JP.

Deprecation of Spotify Apps API 0.x

| By Chris Hughes

Update 24 March 2014: We no longer accept new apps for distribution within our Spotify Desktop Player. (You can, of course, still develop Spotify Apps for private use.) Existing Spotify Apps partners may continue to maintain their apps and provide critical updates. For more information, please see our news announcement Closure of Spotify Apps Submissions.

This spring we released a new Spotify Apps API (1.x) that improves how apps work within the Spotify client. This new API is more modern and effective with its asynchronous nature, and it is complemented with a comprehensive views framework with useful widgets for your app.

We also recently upgraded the Spotify desktop client with a better and more secure rendering engine that supports this new API. In the latest Spotify desktop client release (0.9.6) we also introduced the authentication part of the new API which closes the functionality gap to the legacy API.

As the new API now fully replaces the legacy API (0.x), we are now deprecating the legacy API. (more…)