spotify-get
1.1.10 • Public • Published
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]
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.1.10
22
Version History
Package Sidebar
Install
Weekly Downloads