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

spotify-token

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spotify-token

JavaScript wrapper for Spotify's Web Player's Access token

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

spotify-webplayer-token

A better experience than Spotify API and a script that can be used for all access.

This project, inspired by enriquegh project.

Installing

npm install spotify-token

Usage

To get a cookie:

  • You can use any cookie application. Since I'm using Chrome, I'll use EditThisCookie.
  • Let's login to Spotify from this address.
  • After logging in, open the EditThisCookie plug-in; Let's copy the values ​​of sp_dc and sp_key.
  • Done!

Let's add it to the code now (sp_dc and sp_key)

For example:

const spotify = require('spotify-token');
    
spotify.getAccessToken("sp_dc", "sp_key").then(function(token){
	console.log(token);
});

Developer

Quiec

License

MIT

Keywords

spotify

FAQs

Package last updated on 15 Aug 2020

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