musicmatch

musixmatch community api

NodeJS musixmatch community api

$ npm install musicmatch
 
music = require('musicmatch')({usertoken:"",method:"",appid:""});
 
// or 
 
music =  require('musicmatch')();
 
music.artist({q:"Tove lo",page:1,page_size:10}).then(function(data){
 
    
 
}).catch(function(err){
    
 
});
 
 
music.track({q_track_artist:"Habits",page:1,page_size:30}).then(function(data){
 
    
 
}).catch(function(err){
    
    
});
 
music.lyrics({commontrack_vanity_id:"Tove-Lo/Habits",page:1,page_size:30}).then(function(data){
 
    
 
}).catch(function(err){
    
    
});