
Security News
Feross on Risky Business Weekly Podcast: npm’s Ongoing Supply Chain Attacks
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
isomorphic-spotify
Advanced tools
A Spotify API library for node.js and browser which fetches via isomorphic-fetch
API library for the Spotify REST API.
Install it with npm: npm install isomorphic-spotify
The following will return promises with response object being json
lookup: function({ type: 'artist OR album OR track', id: 'Spotify ID Hash' })
search: function({ type: 'artist OR album OR track', query: 'My search query', limit: 20 })
get: function(query) -- See http://developer.spotify.com/en/metadata-api/overview/
These won't return a promise. Setting a oauth token will make all subsequent api calls with token.
setOAuth: function(token)
getOAuth: function()
var spotify = require('isomorphic-spotify');
spotify.search({ type: 'track', query: 'dancing in the moonlight' })
.then(function(data) {
// ... do something with data
})
.catch(function(err){
// ... handle error
});
FAQs
A Spotify API library for node.js and browser which fetches via isomorphic-fetch
We found that isomorphic-spotify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.