Skip to content
cosenary edited this page Sep 15, 2012 · 7 revisions

Look up URIs

lookup($uri, <$detail>)

Example response:

{
  "info": {
    "type": "artist"
  },
  "artist": {
    "href": "spotify:artist:4YrKBkKSVeqDamzBPWVnSJ",
    "name": "Basement Jaxx"
  }
}

Get URI

getUri($obj, <$count>)

Example response:

// Available Spotify URIs - depend on the passed $obj
spotify:artist:58lV9VcRSjABbAbfWS6skp
spotify:album:4iMh930ASjKvgFhA19mVGa
spotify:track:4I4BS0OeI7VZdo5WeEQHFP

These URIs will be opened with Spotify player.

Clone this wiki locally