soundcloud - How to get "all" tracks related to an artist with Souncloud API -
i have been looking answer while, , couldn't find it.
currently, i'm getting tracks of artist specified api:
sc.get('/users/30806929/tracks', { userid: '30806929'}, function(tracks) { $(tracks).each(function(index, track){ $('#results').append($('<li></li>').html(track.title + ' - ' + track.genre)); }); });
that's easy , works fine.
the problem i'm getting tracks uploaded user, listed in following link:
but want "all" music related user, listed in homepage:
has faced problem?
answer bnz, simple example tracks (including tracks , tracks-repost):
var url = 'https://api-v2.soundcloud.com/profile/soundcloud:users:30806929?limit=10&offset=0&linked_partitioning=1&client_id=your_client_id&app_version=810b564&format=json'; $.ajax({url:url}).success(function(data){ $(data.collection).each(function(index, info){ $('#results').append($('<li></li>').html(info.track.title)); }); });
you mean tracks + sets + reposts?
this part of new api, make public - , useable.
at least thats call:
(go browser , take on networks console , xhr requests.)
Comments
Post a Comment