@moonr/spotify
v0.0.2
Published
Download and search spotify
Downloads
22
Readme
Spotify Search & Downloader
make it easy for you to download and search songs from spotify for free
Example
const spotify = require('@moonr/spotify')
// Use query for search
const json = await spotify('Alone')
console.log(json)
// Use URL/Link for download
const json = await spotify('https://open.spotify.com/track/3Q6DjwdB1gfLJMq1xkGov9')
console.log(json)
Result
{
"author": "@naando.io",
"status": true,
"data": {
"thumbnail": "https://i.scdn.co/image/ab67616d0000b273775e472f2c8c87e35546bf68",
"title": "NDX A.K.A. - Nemen - Hiphop Dangdut Version",
"artist": {
"external_urls": {
"spotify": "https://open.spotify.com/artist/1IDBhlpDyKr53UKKxXRHXD"
},
"href": "https://api.spotify.com/v1/artists/1IDBhlpDyKr53UKKxXRHXD",
"id": "1IDBhlpDyKr53UKKxXRHXD",
"name": "NDX A.K.A.",
"type": "artist",
"uri": "spotify:artist:1IDBhlpDyKr53UKKxXRHXD"
},
"duration": "4:35",
"preview": "https://p.scdn.co/mp3-preview/b37cc3f0de98e517c5907a48b203b22a1b03b85a?cid=4c4fc8c3496243cbba99b39826e2841f",
"url": "https://cdn1.meow.gs/api/stream?id=8aK9aOsE1_tkFUwSVfZP5&exp=1726116292118&sig=w5b-pyEAqQLJ2Jomfni6i-gJMwbdByuROUk-Dwe8iec&sec=ExbUBcXWgzqob3oUhiAAhcGbg4zzPftIUXvgGHX2Te0&iv=rvDl7FMBYllXx05bYzo3xA"
},
"t": "convert"
}