soundcloud-lib icon indicating copy to clipboard operation
soundcloud-lib copied to clipboard

Pulling Likes

Open npfister13 opened this issue 4 years ago • 3 comments

Would it be possible to implement the ability to scrape info from a user's Likes? I don't want to download thousands of songs, just scrape the information for the artists that show in the likes, the types of music, etc.

npfister13 avatar Feb 06 '21 16:02 npfister13

I'll look into this.

3jackdaws avatar Feb 08 '21 05:02 3jackdaws

I'm currently looking to make likes downloadable so I have a little bit of experience with retrieving the likes.

First you want to resolve the profile you want the likes from to get their user_id. This is needed because to actually retrieve their likes you have to use their user_id. (this took me a few hours to find out)

After that it's as simple as hitting this enpoint (you might want to change the limit query parameter): https://api-v2.soundcloud.com/users/<user_id>/likes?limit=50&client_id=<client_id>

DJoepie avatar Feb 08 '21 17:02 DJoepie

@3jackdaws, can this be implemented?

realies avatar Jun 05 '24 03:06 realies