Reputation: 280
Iam using this link as reference to fetch tracks uploaded on my account to play them in my app. It is clearly written in the guide that "To access public resources you just have to pass a client_id parameter" in the following URL
https://api.soundcloud.com/tracks?client_id=YOUR_CLIENT_ID
I have created an app on my SoundCloud account and passed the Client ID generated there in the above URL. I am getting around 50 tracks, but unfortunately none is from my PlayList/tracks.
I also tried to create multiple apps and use their Client ID, but no success.
Kindly point out if I am missing something OR should I follow some other approach.
My purpose is to fetch the tracks that are uploaded on my SoundCloud account.
Regards.
Upvotes: 1
Views: 279
Reputation: 46
The url that you provided is used to fetch details about specific track by passing additional id parameter.
To fetch tracks uploaded by specific user, you should use:
http://api.soundcloud.com/users/[USER ID]/tracks?client_id=YOUR_CLIENT_ID
Upvotes: 0