Skip to content

Instantly share code, notes, and snippets.

@akkez
Created August 30, 2016 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akkez/a87fe5d33bd3051d19ed75972c791abe to your computer and use it in GitHub Desktop.
Save akkez/a87fe5d33bd3051d19ed75972c791abe to your computer and use it in GitHub Desktop.
var a = API.audio.get({"count":15});
var i = 0;
var x = [];
while (true) {
x.push(a.items[i].artist + " - " + a.items[i].title);
i = i + 1;
if (i > a.items.length) {
return x;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment