nexgen-magic

0.1.0 • Public • Published

nexgen-magic

Get the current song played on magic.co.nz

Installation

Simplest way to install nexgen-magic is to use npm.

Just run npm install nexgen-magic which will download nexgen-magic and all it's dependencies.

Usage

Simply require nexgen-magic in your code

var magic = require('nexgen-magic');
Current Song/Track
magic.current(function(track) {
    console.log('Currently playing ' + track.title + ' by ' + track.artist);
});
Next Song/Track
magic.next(function(track) {
    console.log('Next song will be ' + track.title + ' by ' + track.artist);
});

Package Sidebar

Install

npm i nexgen-magic

Weekly Downloads

0

Version

0.1.0

License

Apache-2.0

Last publish

Collaborators

  • samwalshnz