

You will do need a premium one if you want to send commands to change the playback.Ī caveat at the moment is that the endpoints don't support any kind of web socket connection nor long polling. You don't need to have a premium account to get the playback status, a free account is alright. There is more information about what scopes are needed in the documentation for each endpoint.
SPOTIFY WEB PLAYER AN ERROR OCCURRED HOW TO
How to use the endpointsīefore using the Connect endpoints we need to obtain an access token on behalf of the user with certain permissions. Transmit the playback to another connected device or interact with the currentĬontext (pausing, changing the volume, skipping, playing something else…). Information about what is playing currently and from where, being able to Your application can become a controller through the Web API endpoints, getting

Clicking on the icon next to the volume we get a list of connected devices (FireTV, desktop client, speakers and the web player). PlayStation, from the Spotify web player to Chromecast… In short, you haveĬontrollers and devices that can play music. You can send the music from your Spotifyĭesktop client to a speaker, from the Spotify app on mobile to Spotify for

Playback from one device to another one without having to use a physicalĬonnection like a cable or bluetooth. This allows for a wide range of integrations and I wanted to hack a bit with it. Spotify released recently a set of endpoints in beta to fetch information of what is playing and send playback commands.
