Skip to content

Instantly share code, notes, and snippets.

Avatar

Mike D LinGG

  • Russia
View GitHub Profile
View each
function recommendate(){
VK.Api.call('audio.getRecommendations', {count: '1000'}, function(r) {
if(r.response) {
$('#playlist').empty().append($.map(r.response, function(song){
return '<li><a href="'+ song.url +'"><b>'+song.artist+'</b> - '+ song.title +'<span class="label">'+ song.aid +'</span></a></li>'
}))
}
});
};
You can’t perform that action at this time.