I would like to be able to constantly get the 10 last tracks of a user using oembed with json.
$.getJSON("http://soundcloud.com/oembed",
{url: "https://soundcloud.com/aviciiofficial", format: "json"},
function(data)
{
console.log(data.html);
})
Data.html returns the soundcloud player's html code, but this player contains a track set with all the users tracks. I would like to be able to get the tracks individually (something like this: data[0].html). How can i fetch an array of all the newest tracks?
Console output:
<iframe width="100%" height="450" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Fusers%2F1861068"></iframe>
Thanks!