SoundCloud, on-demand filtering on specific user's tracks does not work

I am trying to use soundcloud api to get specific user tracks matching the query I entered

here an example without requests, works fine, gets all the tracks for this user http://api.soundcloud.com/users/4493849/tracks.json?client_id=YOUR_CLIENT_ID

works great and gets 5 tracks for this user

Now I just need to get a track called "Test Audio". so I do the following http://api.soundcloud.com/users/4493849/tracks.json?client_id=YOUR_CLIENT_ID&q=Test

now the problem is that when I put q =, it just brings me all the tracks in the whole sound that match Test, that is, it asks for all soundcloud not 5 tracks for this user, as I want

Any help please

+2
json soundcloud
source share
2 answers

I tried this with my own SC SDK:

http://jsfiddle.net/iambnz/H7VW8/

SC.initialize({ client_id: "cd3e093bf9688f09e3cdf15565fed8f3" }); SC.get('/users/4493849', { q: 'test' }, function(tracks) { console.log(tracks); }); 

The result will be just one track / object:

 Object {id: 4493849, kind: "user", permalink: "the-uprising-developers", username: "The Uprising Developers", uri: "http://api.soundcloud.com/users/4493849"…} 
0
source share

SoundCloud API does not work with custom sub-resources and search query.

Thus, the best way to do this is to load all tracks (batch loading with offset parameter if the user has many tracks), all tracks, and then encode your search in the results.

This was the first function I needed when I started my application, but there is no way to do this with the thiers API only.

0
source share

All Articles