We've been using a CURL call on /users/{id}/tracks to get the tracks for a user for a while now, but recently we noticed it stopped working. In fact, when we call the URL in the browser we get a 404 error.
Example URL:
https://api.soundcloud.com/users/lgarciabes/tracks/?client_id={my_id}&format=json
The call to get the tracks in a playlist works fine, but not the one to get all the tracks for the user.
Something changed in the API or is it a bug?
Which URL should we use to get the list of all the tracks for a user?
[UPDATE]
As milleph pointed, using the user ID instead of the permalink name works fine. So the code needs an extra step (getting the ID for a given user name). Letting it get the tracks lists with the permalink was more comfortable and required less cURL calls.
Not sure why Soundcloud changed this but replacing username with user id works
https://api.soundcloud.com/users/10827351/tracks/?client_id={my_id}&format=json
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With