2.0.1 • Published 7 years ago

spotify-helper v2.0.1

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

Spotify Helper

NPM helper module to control the Spotify player.

This module allows you to control the Spotify player. From changing player state or changing the song currently playing.

Installing

npm install spotify-helper

Simple Example

This example will show you how the pause the player.

const { SpotifyHelper } = require('spotify-helper');
let Spotify = new SpotifyHelper();

Spotify.init()
  .then(function () {
    return Spotify.pause();
  });

This example will show you how the play the player.

const { SpotifyHelper } = require('spotify-helper');
let Spotify = new SpotifyHelper();

Spotify.init()
  .then(function () {
    return Spotify.play();
  });

Bugs

You can report bugs with the repo issue tracker.

2.0.1

7 years ago

2.0.0

7 years ago

1.0.1

8 years ago