ADDED: artist image gallery
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user