https://github.com/parasop/better-spotify-api
An easy to use spotify api wrapper around node.js
https://github.com/parasop/better-spotify-api
Last synced: 2 months ago
JSON representation
An easy to use spotify api wrapper around node.js
- Host: GitHub
- URL: https://github.com/parasop/better-spotify-api
- Owner: parasop
- Created: 2022-08-17T16:41:08.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-17T18:11:29.000Z (almost 4 years ago)
- Last Synced: 2025-10-26T23:46:47.980Z (8 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# better-spotify-api
#### Installation
```
npm intall better-spotify-api
```
## Usage
### Without ClientID and clientSecret
```js
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
```js
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](https://ko-fi.com/parasdev)
## [Discord Server](https://discord.gg/ghysw8CPBf)