forked from youpy/ruby-lastfm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added user.getTopAlbums and user.getTopArtists along with tests
- Loading branch information
Showing
5 changed files
with
114 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<lfm status="ok"> | ||
<topalbums user="test" type="overall"> | ||
<album rank="1"> | ||
<name>The Wall</name> | ||
<playcount>536</playcount> | ||
<mbid>639f0d06-53bd-32a5-8f65-1db785743ab0</mbid> | ||
<url>http://www.last.fm/music/Pink+Floyd/The+Wall</url> | ||
<artist> | ||
<name>Pink Floyd</name> | ||
<mbid>83d91898-7763-47d7-b03b-b92132375c47</mbid> | ||
<url>http://www.last.fm/music/Pink+Floyd</url> | ||
</artist> | ||
<image size="small">http://userserve-ak.last.fm/serve/34s/70211546.png</image> | ||
</album> | ||
<album rank="2"> | ||
<name>The Perfect Element, Part I</name> | ||
<playcount>524</playcount> | ||
<mbid>3039a1a9-a8d2-4560-81c7-b0af31f692b3</mbid> | ||
<url>http://www.last.fm/music/Pain+Of+Salvation/The+Perfect+Element%2C+Part+I</url> | ||
<artist> | ||
<name>Pain of Salvation</name> | ||
<mbid>f7c65346-9631-4220-9188-5e90baae58d5</mbid> | ||
<url>http://www.last.fm/music/Pain+of+Salvation</url> | ||
</artist> | ||
<image size="small">http://userserve-ak.last.fm/serve/34s/66884232.png</image> | ||
</album> | ||
</topalbums> | ||
</lfm> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<lfm status="ok"> | ||
<topartists user="test" type="overall"> | ||
<artist rank="1"> | ||
<name>Pain of Salvation</name> | ||
<playcount>1354</playcount> | ||
<mbid>28503ab7-8bf2-4666-a7bd-2644bfc7cb1d</mbid> | ||
<url>f7c65346-9631-4220-9188-5e90baae58d5</url> | ||
<streamable>1</streamable> | ||
<image size="small">http://userserve-ak.last.fm/serve/34/53572699.png</image> | ||
</artist> | ||
<artist rank="2"> | ||
<name>Opeth</name> | ||
<playcount>1186</playcount> | ||
<mbid>c14b4180-dc87-481e-b17a-64e4150f90f6</mbid> | ||
<url>http://www.last.fm/music/Opeth</url> | ||
<streamable>1</streamable> | ||
<image size="small">http://userserve-ak.last.fm/serve/34/66663756.png</image> | ||
</artist> | ||
<artist rank="3"> | ||
<name>Nevermore</name> | ||
<playcount>959</playcount> | ||
<mbid>7d093650-89be-4108-842b-ba7f5367504b</mbid> | ||
<url>http://www.last.fm/music/Nevermore</url> | ||
<streamable>1</streamable> | ||
<image size="small">http://userserve-ak.last.fm/serve/34/239749.jpg</image> | ||
</artist> | ||
</topartists> | ||
</lfm> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters