spotify-web-api-js

A client-side JS wrapper for the Spotify Web API

This is a lightweight wrapper for the Spotify Web API (2.6kB gzipped + compressed). It includes helper functions for all Spotify’s endpoints, such as fetching metadata (search and look-up of albums, artists, tracks, playlists, new releases, podcasts) and user’s information (follow users, artists and playlists, and saved tracks management).

It doesn’t have any dependencies and supports callbacks and promises. It is intended to be run on a browser, but if you want to use Node.JS to make the requests, please check spotify-web-api-node.

A list of selected wrappers for different languages and environments is available on the Developer site’s Libraries page.

The wrapper includes helper functions to do the following: