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
1 answer

Importing Spotify's Android SDK to Android Studio

I am currently trying to make an app using Spotify's SDK on Android Studio, but when I have copied their code from this guide: https://developer.spotify.com/technologies/spotify-android-sdk/tutorial/ I get the following errors here: import…
asdasda
  • 21
  • 1
  • 9
1
vote
2 answers

Obtain Audio Attributes to All Spotify Songs By Artist

This is a follow-up question to: Accessing Spotify API for Multiple Artists in R My goal here is to extract multiple artists from Spotify's API and then retrieve all of the songs by artist with their attributes. So this is what we have done so far…
nak5120
  • 4,089
  • 4
  • 35
  • 94
1
vote
0 answers

Size of embedded sdk spotify

I'm investigating to add Spotify Connect to my hardware audio player having an embedded microcontroller. What would be the memory size needed to add the Spotify Connect embedded SDK to my firmware? In case I do the decompression in my…
Michiel
  • 11
  • 2
1
vote
1 answer

Spotify: Search for Artist and Title at the same time

I am new to the Spotify API. I am trying to figure out how to search for an artist and a title at the same time. I'm using an AJAX call with both artist and title. If either is blank, I can simply search for the other, but I can not seem to…
ntgCleaner
  • 5,865
  • 9
  • 48
  • 86
1
vote
0 answers

Spotify: get all songs and saved album

We are looking to develop a iOS application which would allow users to play songs via Spotify API. And user see all songs and album which save in your music. Now, how feasible would this be if we were to do this via the API or can we somehow have a…
jay Prajapat
  • 79
  • 10
1
vote
2 answers

Spotify API redirect URL to local filesystem?

I'm trying to write a program for myself using Spotify's api. I have no intention of my software being public, I just need access to my own playlist data. The issue is, in order to actually get this information, I need to go through Spotify's…
Ashwin Gupta
  • 2,159
  • 9
  • 30
  • 60
1
vote
0 answers

request Spotify's /api/token got errors

According to the Client Credentials Flow part of Spotiy's web api authorization guide, I made the following request: POST https://accounts.spotify.com/api/token grant_type=client_credentials Authorization: Basic Base64.encode(CLIENT_ID + ':' +…
fluency03
  • 2,637
  • 7
  • 32
  • 62
1
vote
0 answers

How to use SpotifyWebAPI

Excuse my English; I am Brazilian and I do not speak English. I have used Google Translator to translate my question into English. I'm developing an application that uses the Spotify API, and my project is a C# MVC application. All the research I…
Fabio Souza
  • 121
  • 4
1
vote
1 answer

How to shuffle/repeat Spotify SDK 0.21.0

So I've been pulling my hair out on this one. I can't for the life of me figure out how to enable shuffle or repeat on the SPTAudioStreamingController. How do I do it? All I can find is this: let player =…
ClockWise
  • 1,509
  • 15
  • 32
1
vote
1 answer

Could not cast value of type 'SPTSession' (0x110afab98) to 'SPTSession' (0x10f17f638)

I am using the Spotify iOS SDK and I am storing a session using NSKeyedUnarchiver However the following code causes an error(some code omitted just for clarity's sake): sptSession = NSKeyedUnarchiver.unarchiveObjectWithData(sessionData as!…
Alex Harris
  • 6,172
  • 2
  • 32
  • 57
1
vote
1 answer

Spotify web api. Signout button

When a user revisits my website, which makes connection to the Spotify web api, the user gets automatically signed in to the Spotify service. Now I want a log out button on my site, so the user is forced to enter his/her credentials again, so the…
Swerfer
  • 345
  • 1
  • 9
1
vote
0 answers

How to use Spotify Search Service in Xcode

I am new to Swift and the APK environment and currently the app loads a playlist that I have given it. But how can I have the user select a song from the Spotify Search Service and have the app play the single track instead of playing through a…
Alex Park
  • 91
  • 1
  • 4
1
vote
0 answers

what is the use of callback in spotify?

I'm trying to authenticate to spotify using python (spotipy). Anyway I couldn't find an explanation up to now about which role plays the callback URI. How does it have to look like and where must it be located when I use…
delaflota
  • 159
  • 1
  • 3
  • 12
1
vote
1 answer

Spotify - searching for silences in a track

I have been searching everywhere but haven't found any documentation about the analysis_url audio feature on Spotify API, in order to deepen my understanding on the subject. As far as I'm concerned, it learns the audio by segments, bars, beats,…
8-Bit Borges
  • 9,643
  • 29
  • 101
  • 198
1
vote
1 answer

Can the SpotifyLocalAPI communicate to spotify with out an internet connection. Can it also retrieve the saved playlists and play from them?

I am currently using the API from https://github.com/JohnnyCrazy/SpotifyAPI-NET I am working on making my own front end for Spotify to be played only offline from the saved songs. It seems to work well to play pause and skip songs. When it is…
Mike Schmidt
  • 355
  • 1
  • 3
  • 13