No commit activity in last 3 years
No release in over 3 years
YesRadio makes available as a ruby gem the method exposed by Yes.com API to retrieve songs broadcast by thousands of radios.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 1.3.2
 Project Readme

YesRadio

Ruby gem to access Yes.com API

Installation

sudo gem install claudiob-yesradio -s http://gems.github.com

Documentation

http://rdoc.info/projects/claudiob/yesradio

Examples

To show a list of 'Rock' stations

require 'yesradio'
Yesradio::search_stations :match => "Rock"

To show details of 'WFNX' radio

require 'yesradio'
Yesradio::get_station :name => "WFNX"

To show log of tracks played on 'WFNX' radio

require 'yesradio'
Yesradio::get_log :name => "WFNX"

To show recent tracks played on 'WFNX' radio

require 'yesradio'
Yesradio::get_recent :name => "WFNX"

To show a chart of popular Rock songs

require 'yesradio'
Yesradio::get_chart :genre => "Rock"

To show a list of songs by artist Rihanna

require 'yesradio'
Yesradio::get_media :aid => 610471

To show a list of songs related to Umbrella (Rihanna)

require 'yesradio'
Yesradio::get_related :mid => 11586843

History

v0.1.3 2009/09/29 Fixed wrong example in README

v0.1.2 2009/09/17 Changed REXML with Nokogiri for XML parsing

v0.1.1 2009/09/15 Fixed bug that made gem unusable (required inexistent file)

v0.1.0 2009/09/15 First release with all the actions and documentation on rdoc.info

v0.0.2 2009/09/15 Added support for actions: chart, media, related. Added documentation through RDoc. Added cucumber features for listing stations.

v0.0.1 2009/09/15 Added support for actions: log, recent.

v0.0.0 2009/09/14 Added support for actions: station, stations

Copyright

Copyright (c) 2009 Claudio Baccigalupo. See LICENSE for details.