Welcome to Viewzoo!  |  Log In  |  Sign Up
Navigation
  1. Wiki Home
  2. Categories
  3. Title List
  4. Recent Changes
  5. RSS
  6. Atom
Active Members

 

Search the Wiki

 

Create or Find a Page

 
View lastfm album
Category:Data Provider API Docs
DataQueryObject API Documentation

DATAKEY


"lastfm_album"

WEBSITE


http://www.last.fm/

DESCRIPTION


The LastFM Album data provider gives a listing of tracks for current album. Album artwork is supplied in the image parameter.
Tracks along with actual url is also present in metadata

INPUT



$term = key ( from lastfm_topalbums datasource )
$start = 0
$end = 0

EXAMPLE DATA



[0] => Array
(
[source] => lastfm_album
[title] => More Friends
[url] => http://www.last.fm/music/Bono/More+Friends
[pubdate] =>
[image] => http://cdn.last.fm/coverart/130x130/143168.jpg
[metadata] => Array
(
[image_thumb] => http://cdn.last.fm/coverart/130x130/143168.jpg
[image_large] => http://cdn.last.fm/coverart/130x130/143168.jpg
[tracks] => Array
(
[0] => Array
(
[title] => If You Wear That Velvet Dress
[url] => http://www.last.fm/music/Bono/_/If+You+Wea..
)

)

)

[id] => 0
)

Categories: