Socket
Socket
Sign inDemoInstall

better-spotify-api

Package Overview
Dependencies
2
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    better-spotify-api

An easy to use spotify api wrapper around node.js


Version published
Weekly downloads
1
Maintainers
1
Install size
1.20 MB
Created
Weekly downloads
 

Readme

Source

better-spotify-api

Installation
npm intall better-spotify-api 

Usage

Without ClientID and clientSecret

const Spotify = require("better-spotify-api");

let spotify = new Spotify()


//You can provide spotify url as well as query too
let data  = await spotify.search("https://open.spotify.com/playlist/1MuDVTTNqRmEUV1dzyfMnB?si=ffbe046d6b0c478b")

let song = await Spotity.search("Tum hi aana");


With ClientID and clientSecret

const Spotify = require("better-spotify-api");

let spotify = new Spotify({
    clientID:"cb41529dc3bd4d8f8a240dbee0fff4e8",
    clientSecret:"bcca82f42930498aa385a8289fdf276b"
})


//You can provide spotify url as well as query too
let data  = await spotify.search("https://open.spotify.com/playlist/1MuDVTTNqRmEUV1dzyfMnB?si=ffbe046d6b0c478b")

let song = await Spotity.search("Tum hi aana");

Donate us

Discord Server

FAQs

Last updated on 19 Aug 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