Giter VIP home page Giter VIP logo

apps-tutorial's Introduction

Spotify Apps API Tutorial

Spotify Apps Tutorial home screen

This is a Spotify App that explains shows useful code snippets that can help you make a Spotify Apps. It uses version 0.x of the Spotify Apps API. If you want to have a look at the tutorial that uses a preliminary version 1.x of the Spotify Apps API, check the 1.0 branch.

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:api-tutorial" in the search bar (restart Spotify completely in case it doesn't find the App at first)

More information

Your feedback is welcome! Please email [email protected].

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
  • Showing a list of tracks

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
  • Star and unstar a track
  • Get a user's top tracks

Searching

  • Returning all tracks with a given search query
  • Search albums for an artist

Playlists

  • Add a song to a playlist
  • Get songs from a playlist URL
  • Subscribe to a playlist
  • Showing a playlist mosaic 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

apps-tutorial's People

Contributors

mager avatar jmperez avatar asmitter avatar

Watchers

James Cloos avatar Mariano avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.