A Spotify App that shows you how to make a Spotify app
Pull request Compare This branch is 50 commits behind spotify:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
img
js
tutorials
.gitignore
README.mkd
index.html
manifest.json
template.html

README.mkd

Spotify Apps API Tutorial

This is a Spotify App that explains how to make a Spotify App.

For API Guidelines, click here.

Spotify Apps Tutorial home screen

Topics covered

Getting started

  • Creating your manifest file
  • Handling arguments and creating navigational tabs
  • Dragging and dropping content into an app
  • Show "Share" popup

UI

  • Using standard components for buttons
  • Track-listing components (coming soon)
  • Using the pager element (coming soon)

Playing music

  • Play a single song
  • Play a list of songs
  • Get the currently-playing track
  • Create a play/pause button with an HTML element
  • Skip to the next or previous track
  • Get a user's top tracks

Searching

  • Returning all tracks with a given search query

Playlists

  • Add a song to a playlist
  • Get songs from a playlist URL
  • Subscribe to a playlist
  • Showing a playlist mosiac image

Interacting with Facebook

  • Authenticate a user with Facebook
  • Get a user's listening history from Facebook

Experimental & Unsupported

  • Talking to Twitter
  • Create an EchoNest radio station
  • Display a Polymaps object
  • Template

Installation

  1. Sign up for a developer account on Spotify
  2. Open Terminal, mkdir ~/Spotify
  3. cd ~/Spotify
  4. git clone git@github.com:spotify/apps-tutorial.git
  5. Download the latest version of Spotify
  6. Open Spotify and type "spotify:app:tutorial" in the search bar

Your feedback is welcome! Please email mager@spotify.com.