fermal: a last.fm API library for Erlang.
Joe Williams - - January 30, 2009I decided to start a new project after the relative success and fun I had writing merle. This time I decided to do something a little more web-centric, a library for last.fm’s awesomely complete API called fermal. While I doubt it will eventually support the entire API it will likely support a good portion of it. I recently made the commits and there is already some usable stuff in there. At the moment there is support for getting album info, artist info and using their tasteometer to compare tastes of two last.fm users. fermal uses last.fm’s JSON format API and LShift’s rfc4627 library to do the dirty work. Here is an example of its usage:
3> fermal:album_info(”animal collective”, “feels”).
[[album,
{name,"Feels"},
{artist,"Animal Collective"},
{id,"2050717"},
{mbid,"8a9ee208-3c9e-4fec-8f60-9a8b1db39960"},
{url,"http://www.last.fm/music/Animal+Collective/Feels"},
{releasedate," 18 Oct 2005, 00:00"},
{listeners,"184794"},
{playcount,"3539880"},
{toptags,"\n "}]]
Categories: Blogs Joe Williams
Comments
No comments so far, you could be the first.Add comment
Erlang on Twitter
» fprogblogs (ФП-Блоги): dmzlj пишет: необъяснимое про erlang http://bit.ly/bWR1bK
» fprogblogs (ФП-Блоги): Dmitrii ‘Mamut’ Dimandt пишет: Flymake и Erlang http://bit.ly/cbaWMs
» sbtourist (Sergio Bossa): @dnene +1 for Clojure and/or Erlang :)
» delegatevoid (Timothy Parez): @TheColonial I’ll keep an eye on it… ever never seen anything about erlang before… only mentions from you
» pjimmy (Jimmy P): @TheColonial lol I thought you were just mad at your erlang install..
» TheColonial (OJ): @delegatevoid It’s me, trying to get a regular podcast up for erlang related stuff. Been on the backburner though.
» williamgouvea (William Gouvea): RT @dnene: My now publicly stated goal is to be competent at atleast 1 FP language (out of Scala / Clojure / Haskell / Erlang) by the year end
» williamgouvea (William Gouvea): RT @dnene: Preliminary learning for Scale, Clojure done, Haskell in progress, Erlang in queue
» k_s_zip (じっぷ): 暇なのでクジラ対策で脚光を浴びた?Scalaを勉強中なう。なるほどJava環境に並列化処理を施す1つの解になるわけだ。Rubyにもなんとなく似た雰囲気あるし、Erlangのような仕組みもある。これはこれで面白いw
» kyhpudding (Yuheng Kuang): 这个更好玩!RT @liancheng: @kyhpudding 嗯,还有一个例子是erlang的分布式数据库mnesia,原名是amnesia。然后经理疯了,说你们做一数据库,取个名字叫健忘症,这不行啊。于是Joe大叔一帮人等把第一个a给去掉了
Statistics
Number of aggregated posts: 10084
Number of comments: 564
Most recent article: September 07, 2010
Latest comments
» Simon cadbury on CouchDB Load Balancing and Replication using HAProxy.: Very nice Site number one topic Thanks you.. [url=“http://www.designscopia.com/products/outdoor-media/mobile-ads.asp”]mobile ads design [/url] | [url=“http://www.designscopia.com/products/print-material/stickers.asp”]stickers design [/url]
» dress on Reading Serialized PHP Objects from Erlang: canon lens mugs Nikon Mugs Canon Coffee Lens Mug Nikon Coffee Lens Mug anon coffee mug,canon lens mug,canon mug,canon coffee…
» dress on Fun with processes (Updated): canon lens mugs Nikon Mugs Canon Coffee Lens Mug Nikon Coffee Lens Mug anon coffee mug,canon lens mug,canon mug,canon coffee…