0.1.0 • Published 8 years ago

nexgen-maifm v0.1.0

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
8 years ago

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);
});