Skip to content

lucaslimao/node-spotify-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:
  }
}

About

Lib que facilita a integração aplicação-spotify

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published