This is a Spotify App that shows useful code snippets that can help you build Spotify Apps. It uses the most recent version of the Spotify Apps API.
- Sign up for a developer account on Spotify by logging in and agreeing to the terms of use.
- Create the Spotify folder if it doesn't exist already:
~/Spotify
(Mac OS X and Linux) orMy Documents\Spotify
(Windows). - Open the Spotify folder.
- Run
git clone git://github.com/spotify/apps-tutorial.git api-tutorial
. - Download the latest version of Spotify.
- 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).
- Creating your manifest file
- Handling arguments, creating pages and navigational tabs
- Dragging and dropping content into an app
- Show "Share" popup
- Play a single track
- Play a list of tracks
- Get the currently playing track
- Create a play/pause button with an HTML element
- Skip to the next or previous track
- Get metadata from an artist, album, track, or playlist
- Returning metadata with a given search query
- Get a user's top tracks
- Star and unstar a track
- Authenticate a user with Facebook
- API Reference
- Integration Guidelines
- Spotify-tagged questions on StackOverflow
- @SpotifyPlatform on Twitter
Your feedback is welcome! Feel free to create issues and send pull requests.