1.0.4 • Published 5 years ago
spotifyapi.js v1.0.4
spotifyapi.js
An opinionated wrapper around the Spotify Web API
Usage
const Spotify = require('spotifyapi.js')
const SpotifyApi = new Spotify('clientid', 'clientsecret', 'refreshtoken')
// Pause Playback
SpotifyApi.pause().then(() => console.log('Playback paused.'))
// Resume Playback
SpotifyApi.resume().then(() => console.log('Resumed paused.'))