Socket
Socket
Sign inDemoInstall

spotify-get

Package Overview
Dependencies
57
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    spotify-get

A isomorphic Spotify API client


Version published
Weekly downloads
3
increased by50%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

spotify-get

npm i spotify-get

example

//Top of your main file
const Spotify = require('spotify-get');
//Client event config
client.sclient = new Spotify({
consumer: {
key: "Your spotify client id",
secret: "Your spotify secret"
}});
//search track
const data = await client.sclient.search({
q: `SAD`,
type: "track",
limit: 5
});
//get metadata
data?.tracks.items[0]

Keywords

FAQs

Last updated on 27 May 2022

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc