Skip to content

NPM helper module to control the Spotify player.

License

Notifications You must be signed in to change notification settings

Musixmatchdev/spotify-helper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

NPM helper module to control the Spotify player.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%