GithubHelp home page GithubHelp logo

terminatorover / apps-tutorial Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spotify/apps-tutorial

0.0 2.0 0.0 8.95 MB

A Spotify App that contains working examples of the use of Spotify Apps API

Home Page: https://developer.spotify.com/technologies/apps/

apps-tutorial's Introduction

Spotify Apps API Tutorial

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.

Installation

  1. Sign up for a developer account on Spotify by logging in and agreeing to the terms of use.
  2. Create the Spotify folder if it doesn't exist already: ~/Spotify (Mac OS X and Linux) or My Documents\Spotify (Windows).
  3. Open the Spotify folder.
  4. Run git clone git://github.com/spotify/apps-tutorial.git api-tutorial.
  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).

Topics covered

Getting started

  • Creating your manifest file
  • Handling arguments, creating pages and navigational tabs
  • Dragging and dropping content into an app

UI

  • Show "Share" popup

Playing music

  • 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

Searching

  • Get metadata from an artist, album, track, or playlist
  • Returning metadata with a given search query

Interacting with user data

  • Get a user's top tracks
  • Star and unstar a track

Facebook

  • Authenticate a user with Facebook

More information

Your feedback is welcome! Feel free to create issues and send pull requests.

apps-tutorial's People

Contributors

jmperez avatar mager avatar rymdkillen avatar thelinmichael avatar

Watchers

 avatar  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.