Questions tagged [spotify]

Spotify is a streaming music service for multiple platforms. This tag covers Spotify's various developer libraries and public APIs, including Web API, mobile SDKs, and Web Playback SDK.

The Spotify Platform allows developers to integrate Spotify in their applications using Spotify's Web API, iOS SDK, Android SDK, and Web Playback SDK. Read more about these and other tools on the Spotify for Developers website.

What Questions should I ask?

Questions using this tag should be about how to use one of these platforms. You may find that in some cases, a question that arises whilst developing for these platforms is not Spotify specific; e.g. a common JavaScript question whilst creating a Spotify Web API Application, or an Android question whilst using the Android SDK. In these cases, you should tag your question with the or tag instead.

Platforms

Web API

The Web API provides developers with an interface to query Spotify's extensive music catalogue through a REST interface, using OAuth 2.0 for authentication.

Useful Resources

Web Playback SDK

The Spotify Web Playback SDK makes it possible to add audio streaming to your website. You can use it in conjunction with the Spotify Web API to build rich applications on top of the Spotify platform.

Useful Resources

iOS SDK

The Spotify iOS SDK makes it easy to add audio streaming, playlist manipulation, metadata lookup and other Spotify features to iOS apps.

Useful Resources

Android SDK

Similarly to the iOS SDK, the Spotify Android SDK enables developers to do things like music playback, playlist manipulation, and metadata lookup.

Useful Resources

libspotify [DEPRECATED]

This C library allows third-party developers to write applications that utilize the Spotify music streaming service. Please note that this library is considered deprecated.

3397 questions
75
votes
8 answers

What language or technology was used to develop the Spotify desktop application?

Does anybody know which language or technology was used to develop the Spotify desktop application? It's stable, good-looking and lightweight.
tom
64
votes
11 answers

Invalid redirect URI on spotify auth

I try to auth user through my app with spotify Web API but I receive this error: INVALID_CLIENT: Invalid redirect URI URL: GET…
realdark
  • 649
  • 1
  • 5
  • 5
46
votes
2 answers

SSL_ERROR_SSL(1): operation failed within the library

I am getting some SSL Errors (which are causing my project to stop/hang with no crash as I have a DispatchGroup waiting for the request), which I don't know how they are caused, what they are, or what to do about it. I have read numerous pages…
George_E
  • 8,913
  • 3
  • 35
  • 76
32
votes
4 answers

Get current playing song from Spotify iOS app

I'm trying to get info about the current playing song in Spotify iOS app. The scenario is as follows: Open Spotify iOS app, start playing a song. Put the app in background and open my iOS app. Is there any way I could get the song playing on…
buddy
  • 329
  • 3
  • 5
30
votes
2 answers

Play full spotify track inside my own website using spotify web api

So I was taking a look at the spotify web api and it apparently allows you to play a preview of the song, but I was wondering if there is any way to play the full spotify song without having to open up the official spotify web player or desktop…
Reed McDonnell
  • 361
  • 1
  • 3
  • 8
28
votes
5 answers

Hotkey for next song in Spotify

After March 2015 upgrade of Spotify the below hotkey no longer works to get next song in Spotify: ; Spotify next track <^>!p:: DetectHiddenWindows, On ControlSend, ahk_parent, ^{Right}, ahk_class SpotifyMainWindow DetectHiddenWindows, Off Return…
EquipDev
  • 3,807
  • 8
  • 27
  • 53
26
votes
1 answer

Spotify Web API rate limits

The spotify web API documentation mentions rate limits. For example, the authorization guide says this: Only endpoints that do not access user information can be accessed. Its advantage is that a higher rate limit is applied compared with …
Larry Person
  • 301
  • 1
  • 5
  • 7
22
votes
1 answer

Spotify Web API - Authenticate user via native mobile app rather than browser?

I am testing the following example to authenticate a user by logging in and redirecting to the auth screen - http://jsfiddle.net/JMPerez/j1sqq4g0/ This example uses a callback page with the following script: (function() { var hash = {}; …
scopeak
  • 555
  • 3
  • 17
20
votes
3 answers

Get play count of a track from Spotify API

Is it possible to get the play count of a song (for the current user)? I only found Toplist and the Track class, but neither tells me how often a user listened to a song.
TomTasche
  • 5,027
  • 6
  • 39
  • 64
20
votes
3 answers

Retrieve cover artwork using Spotify API

There is currently no way to retrieve the cover artwork using Spotify's Web API. Are there plans to implement these or any workarounds?
idleberg
  • 10,319
  • 7
  • 36
  • 57
19
votes
2 answers

How can I play a Spotify audio with Python?

I would like to know if it's possible to play songs from Spotify with Python (version 2.7 if possible) and how.
NeoMahler
  • 363
  • 1
  • 2
  • 6
18
votes
3 answers

Encoding Spotify URI to Spotify Codes

Spotify Codes are little barcodes that allow you to share songs, artists, users, playlists, etc. They encode information in the different heights of the "bars". There are 8 discrete heights that the 23 bars can be, which means 8^23 different…
Peter Boone
  • 696
  • 5
  • 16
17
votes
3 answers

'UTF8' is not a supported encoding name

So I'm just playing around with Spotify's Web API and I'm trying to access my top played tracks. Although I've encountered a problem I've been trying to solve for a couple of hours now but I can't find an answer. When I try to deserialize my…
Fredrik
  • 213
  • 1
  • 3
  • 9
16
votes
4 answers

How to Logout user from Spotify after authorization and Web API call is over

Im using Spotify Web API to get list of playlist and track of user. Authorization is working fine. Also i do get track details. But after that I want to logout user from spotify and allow new login . There is a session time till the user auto…
user1099944
14
votes
1 answer

Mapping musicbrainz URIs into Spotify URIs

Does anybody know how can I find Spotify's URI for a given artist/album's musicbrainz URI? Spotify's web-api doesn't solve my problem cause I wanna map all the musicbrainz artists and albums and it's quite slow.
Sassan
  • 1,997
  • 2
  • 20
  • 41
1
2 3
99 100