nexgen-therock

0.1.0 • Public • Published

nexgen-therock

Get the current song played on therock.co.nz

Installation

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

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

Usage

Simply require nexgen-therock in your code

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

Package Sidebar

Install

npm i nexgen-therock

Weekly Downloads

1

Version

0.1.0

License

Apache-2.0

Last publish

Collaborators

  • samwalshnz