ADDED: artist image gallery

This commit is contained in:
Tobias Klika
2011-05-05 23:17:01 +02:00
parent c163a94a7d
commit 812ea84770
11 changed files with 139 additions and 72 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ module LastFM
# return: album name, artist, (top)tags, tracks ( name, duration (in sec) ) mbid (album), release date, image urls ( different sizes )
def self.getInfo album, artist
album_request "getInfo", nil, album, artist
album_request "getInfo", "album", album, artist
end
# return: tags ( name, tag´s last.fm-url ) ordered by popularity
+4
View File
@@ -29,6 +29,10 @@ module LastFM
def self.getTopAlbums artist, limit = nil, page = nil
artist_request "getTopAlbums", "topalbums", artist, limit, page
end
def self.getImages artist, limit = nil
artist_request "getImages", "images", artist, limit
end
end