Project

gmusic

0.0
No commit activity in last 3 years
No release in over 3 years
gmusic provides APIs to search songs from http://music.g.cn. There are three query conditions supported by gmusic, which are title, artist and album of a song. gmusic delivers query requests to Google and collects the search result returned from Google.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.2.9

Runtime

>= 0.8.2
 Project Readme

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:¶ ↑

INSTALL:¶ ↑

gem install gmusic

Copyright © 2010 Tower He. See LICENSE for details.