duckduckgo/zeroclickinfo-spice — pull request #42 by jagtalon (2012-06-01 05:55:32+00:00)
Title: Last.fm Plugin

I wanted to build a plugin that could immediately show the albums of an artist by typing in a simple query such as `foster the people albums`.

Last.fm allows you to search for an album (http://www.last.fm/api/show/album.search) but it doesn't quite give you what you want. Searching for `cher` would give the same results found here http://www.last.fm/search?q=cher&type=album and the problem is that it mixes albums from other artists whose names start with cher such as cherry.

So, I made a plugin which doesn't really act as a zeroclickinfo box (because you have to click on something) but I think it gives relevant results.

The user types in the artist:
![artist](http://i.imgur.com/LiUJQ.png)

They click on the artist and 5 of the artist's most popular albums are displayed:
![album](http://i.imgur.com/vCs1O.png)

Clicking on the album shows songs and release dates:
![songs](http://i.imgur.com/SkWWM.png)

Looking forward to your comments!