public
Description: Ruby gem that wraps Yes.com API to access broadcasting data from thousands of FM radios
Homepage:
Clone URL: git://github.com/claudiob/yesradio.git
name age message
file .gitignore Tue Sep 15 02:59:21 -0700 2009 Added pkg/ to .gitignore. [claudiob]
file LICENSE Mon Sep 14 23:51:22 -0700 2009 Added jeweler to create gem [claudiob]
file README.md Mon Sep 28 23:56:45 -0700 2009 Fixed wrong example in README [claudiob]
file Rakefile Thu Sep 17 16:19:57 -0700 2009 Changed REXML with Nokogiri for XML parsing. [claudiob]
file VERSION Mon Sep 28 23:57:01 -0700 2009 Version bump to 0.1.3 [claudiob]
directory features/ Tue Sep 15 02:38:39 -0700 2009 Added first cucumber tests. [claudiob]
directory lib/ Thu Sep 17 16:19:14 -0700 2009 Changed REXML with Nokogiri for XML parsing. [claudiob]
directory test/ Mon Sep 14 23:51:22 -0700 2009 Added jeweler to create gem [claudiob]
file yesradio.gemspec Mon Sep 28 23:57:02 -0700 2009 Regenerated gemspec for version 0.1.3 [claudiob]
README.md

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.