nexgen-georgefm
v0.1.0
Published
Get the current song played on georgefm.co.nz
Downloads
2
Maintainers
Readme
nexgen-georgefm
Get the current song played on georgefm.co.nz
Installation
Simplest way to install nexgen-georgefm
is to use npm.
Just run npm install nexgen-georgefm
which will download nexgen-georgefm
and all it's dependencies.
Usage
Simply require nexgen-georgefm
in your code
var georgeFM = require('nexgen-georgefm');
Current Song/Track
georgeFM.current(function(track) {
console.log('Currently playing ' + track.title + ' by ' + track.artist);
});
Next Song/Track
georgeFM.next(function(track) {
console.log('Next song will be ' + track.title + ' by ' + track.artist);
});