1.1.10 • Published 2 years ago

spotify-get v1.1.10

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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]