The Spotify Platform WOW Hack Gteborg 2014 Per-Olov Jernberg @possan - - PowerPoint PPT Presentation

the spotify platform
SMART_READER_LITE
LIVE PREVIEW

The Spotify Platform WOW Hack Gteborg 2014 Per-Olov Jernberg @possan - - PowerPoint PPT Presentation

The Spotify Platform WOW Hack Gteborg 2014 Per-Olov Jernberg @possan @SpotifyPlatform Spotify APIs, SDKs and Widgets Spotify Widgets Play Button Follow Button Libspotify Embed Spotify in your application or hardware. iOS SDK Beta


slide-1
SLIDE 1

WOW Hack Göteborg 2014 Per-Olov Jernberg @possan @SpotifyPlatform

The Spotify Platform

slide-2
SLIDE 2

Spotify APIs, SDKs and Widgets

slide-3
SLIDE 3

Spotify Widgets

Play Button Follow Button

slide-4
SLIDE 4

Libspotify

Embed Spotify in your application or hardware.

slide-5
SLIDE 5

iOS SDK Beta

Lighter, better version of CocoaLibSpotify. Enables authentication, playback, search, and playlisting.

slide-6
SLIDE 6

Try it out

developer.spotify.com/technologies/spotify-ios-sdk Give feedback via the project’s GitHub Issues page.

slide-7
SLIDE 7

Android SDK Beta

Built on the same stack as the new iOS SDK. Enables authentication, playback, search, and playlisting.

slide-8
SLIDE 8

Try it out

developer.spotify.com/technologies/spotify-android-sdk

slide-9
SLIDE 9

Spotify Web API

slide-10
SLIDE 10

Lookup + Search

Now with cover art and 30 second previews

Demo

https://api.spotify.com/v1/tracks/<track_id> /albums/<album_id> /artists/<artist_id> /search?q=<query>&type=<type>

slide-11
SLIDE 11

https://api.spotify.com/v1/me /users/<username> /users/<username>/playlists /users/<username>/playlists/<id> /me/tracks /me/tracks?ids={ids}

User’s Info, Your Music, and Playlists

User Demo Playlists Demo Combined Demo

slide-12
SLIDE 12

https://api.spotify.com/v1/users/<username>/playlists /users/<username>/playlists/<id> /users/<username>/playlists/<id>/tracks

Create New Playlists

slide-13
SLIDE 13

Try it out

developer.spotify.com/web-api

slide-14
SLIDE 14
slide-15
SLIDE 15

Artist API

  • News
  • Reviews
  • Images
  • Video
  • Location
  • Suggest
  • Extract
  • Search
  • Similar
  • Familiarity
  • Hotttnesss
  • Bios
  • Blogs
  • Terms
slide-16
SLIDE 16

Artist API example

# Similar artists in two lines of code for a in artist.similar(names=['lady gaga']): print a.name

Madonna Christina Aguilera Britney Spears Kylie Minogue Katy Perry Scissor Sisters Rihanna Beyoncé Ashley Tisdale Livvi Franc La Roux Paris Hilton She Wants Revenge

slide-17
SLIDE 17
  • Segments
  • Timbre
  • Pitch
  • Loudness
  • Energy
  • Danceability
  • Speechiness

Song API

  • Search
  • Similar Songs
  • Tempo
  • Key & Mode
  • Time Signature
  • Beats
  • Downbeats
slide-18
SLIDE 18

Song API example

Find the loudest songs by thrash artists

song/search?sort=loudness-desc&description=thrash

Find indie songs for jogging

song/search?min_tempo=120&style=indie&max_tempo=125

Find hottest songs by Lady Gaga

song/search?sort=hotttnesss-desc&artist=lady+gaga

slide-19
SLIDE 19

Track Analysis & Remix API

Song I/O

  • Upload to analyze tracks
  • Render audio and video

Song search

  • Search for songs

Song analysis

  • Tempo, Key, Time Signature
  • Section, Bars, Beats, Tatums

Segments

  • Timbre, Pitch, Loudness

Demo: Infinite Jukebox

slide-20
SLIDE 20

Even More APIs

  • Taste Profiles for personalization
  • Song identification
  • Client libraries for popular platforms: Python, Java,

Ruby, iOS, Android etc. Try it out:

developer.echonest.com github.com/echonest

slide-21
SLIDE 21

developer.spotify.com

Per-Olov Jernberg @possan @SpotifyPlatform

Now it's your turn to play!