New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

spotify-refresh

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spotify-refresh

send a refresh token for a new access token from spotify

latest
Source
npmnpm
Version
2.0.3
Version published
Weekly downloads
17
41.67%
Maintainers
1
Weekly downloads
 
Created
Source

#Spotify-refresh Use this module to obtain a new refresh and accessToken from spotfiy

##Example

var refresh = require('spotify-refresh')

refresh(refreshToken, clientID, clientSecret, function (err, res, body) { 
  if (err) return
  body = json.parse(body)
  console.log(JSON.stringify(body)  
})

Which will log something like this

}
   "access_token": "NgCXRK...MzYjw",
   "token_type": "Bearer",
   "expires_in": 3600,
   "refresh_token": "NgAagA...Um_SHo"
}

Keywords

spotify

FAQs

Package last updated on 17 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts