0.0.7 • Published 4 years ago

node-spotify-integration v0.0.7

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

node-spotify-integration

library that aims to make communication with spotify more transparent

Example

const service = require('node-spotify-integration')(client_id, client_secret)

or

const Service = require('node-spotify-integration')
const service = Service(client_id, client_secret)

methods

albums

service.albums.byId('album_id')
service.albums.search('album_name')
service.albums.several('album_id, album_id')

artists

service.artists.byId('artist_id')
service.artists.releated('artist_id')
service.artists.search('artist_name')
service.artists.several('artist_id, artist_id')

tracks

service.tracks.byId('track_id')
service.tracks.search('track_name')
service.tracks.several('track_id, track_id')

Return

success

{
  status: ,
  data: 
}

error

{
  status: ,
  data: {
    error:
  }
}
0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.1

4 years ago