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.

3971 questions
1
vote
2 answers

How to link to correctly urlencode spotify search

Something seem to have changed in how one links to a spotify search. The following code should work: spotify:search:track:castle on the hill artist:ed sheeran When Spotify…
Morten Skogly
  • 71
  • 1
  • 8
1
vote
0 answers

Open native Spotify App from Cordova (App)

Hello and good morning, i tried to open the spotify app from my cordova app.... i found this thread but it cant help me. This is my code: appAvailability.check( 'com.spotify.music', function () { //…
Torben G
  • 750
  • 2
  • 11
  • 33
1
vote
1 answer

After SPTYourMusic request, the response containing SPTListPage has items as nil

I'm trying to get the user's Saved Tracks using the following code snippet: func getYourMusicLibrary() { let accessToken = SPTAuth.defaultInstance().session.accessToken let request: URLRequest = try!…
Cat Simoes
  • 65
  • 2
  • 9
1
vote
0 answers

Sending Spotify Desktop App Keypresses with AutoHotKey

What element of the desktop app accepts keypresses? I am trying to write an AutoHotKey script to handle media keys with different apps wanting the keypress. Spotify will not accept play/pause key or space when sent to the default element in the…
1
vote
1 answer

Add track to playlist without login - API Spotify

I want to make a collaborative playlist with users on my page, but these users are not logged in to Spotify. I want the users to be able to add songs to my collaborative playlist. I have this Ajax: $.ajax({ dataType: 'text', url:…
1
vote
1 answer

can't connect to spotify kafka container, basic connection problems

stumbling at the basics with docker and kafka, cant get a client connection what i've done so far 1) installed docker windows on windows 10. 2) open kitematic, and searched for kafka, and selected the spotify kafka (wurstmeister image failed to…
WILLIAM WOODMAN
  • 1,185
  • 5
  • 19
  • 36
1
vote
0 answers

Spotify Web API + Authentication Client Credentials Flow

I am new on Spotify Web API and I am facing some problems to get the token through the Client Credentials Flow. I could implement the request at Advanced REST Client with the following configs: The request by Advanced REST Client To represent this…
1
vote
2 answers

Get an users playlist with Spotify API (how to add access token in http request angular 2?)

I'm doing this course in udemy about building 12 different angular 2 apps, and one of them works with Spotify Web API and I'm adding more features to it; I've learn how to work with simple GET request like searchMusic(str:string, type='artist'){ …
user3137875
1
vote
4 answers

Make JMX work with spotify/kafka Docker image

I'm trying to get JMX to work with spotify/kafka Docker image. I have a docker-compose.yml with: version: '2' services: my-kafka: image: spotify/kafka # Using this instead of wurstmeister's because it didn't work with /var/run/docker.sock on…
John M
  • 1,469
  • 17
  • 41
1
vote
1 answer

Spotipy - Cannot log in to authenticate (Authorization Code Flow)

I am working with the Spotipy Python library to connect to the Spotify web API. I want to get access to my Spotify's user account via Authorization Code Flow. I am using Python 3.5, Spotipy 2.4.4, Google Chrome 55.0.2883.95 (64-bit) and Mac OS…
Antonio Serrano
  • 882
  • 2
  • 14
  • 27
1
vote
2 answers

Formatting string in html from flask

Trying to get the html document be able to take in variables from my flask app, but this part is inside a string. How do I go about this? I tried this:
James B Lee
  • 59
  • 1
  • 4
1
vote
1 answer

How to get spotify artist id for the spotify endpoint url?

I am trying to get the top ten tracks for an artist, but I don't know how to get Spotify id for that particular artist? this is the end point. GET /v1/artists/{id}/top-tracks The premise is this, i should be able to type an artist name, and I…
relentless-coder
  • 1,478
  • 3
  • 20
  • 39
1
vote
0 answers

Spotify rate limits for logins

I read the information on Spotify's website about their rate limits, such as they are applied on an application basis and are higher with an authenticated requests. (https://developer.spotify.com/web-api/user-guide/#rate-limiting) My question is…
user3132737
  • 11
  • 1
  • 1
1
vote
1 answer

Spotify API (Android) issues

So, I need to create an app in android that can stream music. I followed the Spotify API tutorial and was able to play one track like its suppose to. The problem is I need more than just one track. How do I get more URI's? Example:…
S.S
  • 11
  • 2
1
vote
2 answers

Spotify play full tracks workaround?

I am trying to build an application that plays Spotify songs, among other features. I am well aware that the Spotify API doesn't provide web access to full tracks on desktop. However, I'd still like to explore other workarounds or options. My web…