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