This is a javascript app that shows how to use the Spotify API to control the playback of music (playlist or albums) on any of your devices connected to your spotify account.
To use this app you need a Spotify client ID and client secret. You get these by creating an app in the Spotify developers dashboard here https://developer.spotify.com/dashboard/applications and add https://makeratplay.github.io/SpotifyWebAPI/ in the "Redirect URIs" settings field.
This app demostrates how the use the following APIs:
I used this project to learn the Spotify API in order to create this project: