🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

better-spotify-api

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

better-spotify-api

An easy to use spotify api wrapper around node.js

1.0.0
latest
Source
npm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 19 Aug 2022

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