library that aims to make communication with spotify more transparent
const service = require('node-spotify-integration')(client_id, client_secret)
or
const Service = require('node-spotify-integration')
const service = Service(client_id, client_secret)
service.albums.byId('album_id')
service.albums.search('album_name')
service.albums.several('album_id, album_id')
service.artists.byId('artist_id')
service.artists.releated('artist_id')
service.artists.search('artist_name')
service.artists.several('artist_id, artist_id')
service.tracks.byId('track_id')
service.tracks.search('track_name')
service.tracks.several('track_id, track_id')
{
status: ,
data:
}
{
status: ,
data: {
error:
}
}