Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/claudiob/yesradio
Ruby gem that wraps Yes.com API to access broadcasting data from thousands of FM radios
https://github.com/claudiob/yesradio
Last synced: about 6 hours ago
JSON representation
Ruby gem that wraps Yes.com API to access broadcasting data from thousands of FM radios
- Host: GitHub
- URL: https://github.com/claudiob/yesradio
- Owner: claudiob
- License: other
- Created: 2009-09-14T17:12:24.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2009-09-29T06:57:22.000Z (about 15 years ago)
- Last Synced: 2024-12-18T13:36:25.449Z (4 days ago)
- Language: Ruby
- Homepage:
- Size: 104 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this 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 READMEv0.1.2 2009/09/17
Changed REXML with Nokogiri for XML parsingv0.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.infov0.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.