Spotify Web API Libraries - hdenizdogan/SWE-573-Spring-2023 GitHub Wiki

Web API Libraries

Here we link to some simple examples that demonstrate the capabilities of the Spotify Web API and to wrapper libraries for various languages.

Topics

Web API Tutorial

Example App Code

This is the application code that goes with our Web API Tutorial. It includes three examples, one for each of our supported authorization flows.

Basic snippets

Users Endpoint Demo

Displays current user’s information such as display name, picture and email.

Search for an Artist (and Lookup) Demo

Searches for an artist, displaying their albums and making it possible to play a 30 second preview of the first track of each album.

Example apps

Thirtify

A Spotify web player built using the 30s audio previews from the Web API. Demo · Source on GitHub

Playlist Creation

This example creates a playlist based on the words of a sentence. Demo · Source on GitHub

30s Drum Machine

A simple drum machine using Spotify 30s preview mp3s as samples. Demo · Source on GitHub

For more examples of complete apps, see our Developer Showcase.

Libraries

Here we collect a list of libraries for integrating with the Spotify Web API using several programming languages and platforms. These libraries are developed by members of the community and they have not reviewed by Spotify.

Web API Wrappers

.NET

Clojure

Elixir

Go

Java/Android

Javascript (client-side)

Node.JS

Perl

PHP

Python

Ruby

Rust

OAuth2 integration