How to get trackid

Reply

How to get trackid

TerrifiedJelly
Casual Listener

Hi all,


I'm a data analyst with no real API experience who is trying to use my own Spotify data to carry out some analysis in Python. I've downloaded my data but what I really want is the Audio Features for my history (API for Audio Features). To do this, I need the track ID but this isn't included in the download of my data and I can't find how I source this data.

 

Any advice would be appreciated!

 

Thanks


TJ

2 Replies

Re: How to get trackid

TerrifiedJelly
Casual Listener

Edit: I've worked this out now. I'll post my code once it's in a fit state.

Still not managed it 😞

Keep getting a KeyError or IndexError

Re: How to get trackid

Hubo
Rock Star 16
Rock Star 16

Hey @TerrifiedJelly, thanks for coming to the Developers board!

Sounds like a good issue to tackle! Let's see how to get this fixed. Do you mind sharing part of your code here? Also, if you have a snippet of the error message, that could be helpful! I'd love to take a closer look.

 

Have a good one,

Hubo

HuboRock Star 16
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.
SUGGESTED POSTS