GMusic
GMusic provides a serias of APIs to search songs from music.g.cn. Title and aritist are supported now.
SYNOPSIS:
require 'gmusic'
result = GMusic.search(:title => 'heal the world', :artist => 'michael jackson')
puts result.class
# => Array
result.first.keys
# => [:artist, :album, :format, :size, :url, :id, :lyrics, :title]
REQUIREMENTS:
-
hpricot github.com/whymirror/hpricot
INSTALL:
gem install gmusic
COPYRIGHT:
Copyright © 2010 Tower He. See LICENSE for details.