1.0.4 • Published 10 years ago

spotify_m3 v1.0.4

Weekly downloads
3
License
ISC
Repository
github
Last release
10 years ago

spotify_m3

Nodejs Module that implements track search and its information

##Usage

var spm3 = require("spotify_m3");

Get all the albums and tracks by artist name

spm3.get_albums_by_artist("coldplay", function(data){
	console.log(data);
});

Get album tracks by Artist name

spm3.get_album_tracks_by_artist("coldplay", function(data){
	console.log(data);
});

Get tracks from a album array

var albums_array = [
{id:'spotify_album_id121332'},
{id:'spotify_album_id121333'},
{id:'spotify_album_id121334'}
];


spm3.getalbumstracks(albums_array, function(data){
	console.log(data);
});

Get all the artist array albums

var artist_array = [
{id:'spotify_artist_id121332'},
{id:'spotify_artist_id121333'},
{id:'spotify_artist_id121334'}
];

spm3.getalbums(artist_array, function(data){
	console.log(data);
);

###More tests in /test/test.js

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago