Build your own personal music streaming applications using the Libspotify SDK or CocoaLibSpotify.
The Libspotify SDK and CocoaLibSpotify provide C language APIs that enable you to add Spotify music services to your own applications.
The Libspotify SDK is available for Windows, Mac OS X (x86 / x86_64), iOS, and Linux (x86 / x86_64 / ARM). We also have an Objective C wrapper (CocoaLibSpotify) for iOS.
How Do I Start?
To use the Libspotify SDK you will need to get an application key.
When you have your key, download the Libspotify package for your environment and add the Libspotify API header file (
api.h) to your application. Here are some links to help you get started:
Download the file and unpack it with your favorite extractor. (For most Linux distributions, you can use
tar xzf libspotify-*.tar.gz on the command line to extract it.) You will now have a directory called something starting with
libspotify-. Inside, you should find a README worth at least skimming through.
|libspotify||12.1.51||Mac OS X/Darwin||universal||zip|
If you’re developing applications for iOS or Mac OS X, we recommend using CocoaLibSpotify — our open-source Objective-C wrapper. You can find the CocoaLibSpotify package, along with extensive documentation and sample projects, at the project’s home on GitHub.
The Libspotify SDK and CocoaLibSpotify are not intended for use in commercial applications or in conjunction with commercial hardware products. If you wish to integrate Spotify functionality into a commercial software application, hardware device or software associated with a hardware device, please email firstname.lastname@example.org before proceeding further.
Several fantastic pieces of free and open-source software have really helped get Spotify to where it is today. A few require that we include their license agreements within our product. Consider it done. As we enjoy giving credit where it’s due, we included the entire list below. This means you can not only see which software we’ve been using, but the terms of the licenses too. A big thanks from all of us at Spotify to the smart people behind the fantastic programs listed.