browniebroke/deezer-python

Get a list of tracks by list of track ids

ostec-benni opened this issue · 1 comments

I have following problem:

I want to crawl the tracks of a playlist and analyse the keys isrc, fans, name, artist and more.

If I use the methods 'get_tracks' from Playlist object, the track object is minimized and the key isrc is missing.

If I send a request to 'client.get_track(track_id)', i will get the complete track object, but it isn't perfomant to send a request for every track.

Is there any way to retrieve a list of tracks from a playlist and always get the complete track object?

Thank you for your help.

Is there any way to retrieve a list of tracks from a playlist and always get the complete track object?

I'm afraid the answer is no. This library merely exposes what's available in the REST API, and I don't see a good way to get what you want in fewer requests than what you describe.