nexgen-maifm

0.1.0 • Public • Published

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

/nexgen-maifm/

    Package Sidebar

    Install

    npm i nexgen-maifm

    Weekly Downloads

    0

    Version

    0.1.0

    License

    Apache-2.0

    Last publish

    Collaborators

    • samwalshnz