Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio Features Deprecated? 403 Response #1173

Open
s2t2 opened this issue Nov 28, 2024 · 8 comments · May be fixed by #1177
Open

Audio Features Deprecated? 403 Response #1173

s2t2 opened this issue Nov 28, 2024 · 8 comments · May be fixed by #1177
Labels

Comments

@s2t2
Copy link
Contributor

s2t2 commented Nov 28, 2024

I am trying to get audio features for a given track, using the audio_features method.

creds = SpotifyClientCredentials(client_id=client_id, client_secret=client_secret)
client = Spotify(client_credentials_manager=creds)

track_ids = ["5xTtaWoae3wi06K5WfVUUH"]

client.audio_features(track_ids) #> 403

However it is returning a 403.

I was able to fetch normal metadata about the track using the track method without any issues.

I thought maybe using my user access token auth might help, but no luck.

I read this method may have been deprecated?
https://developer.spotify.com/documentation/web-api/reference/get-audio-features

Any assistance or information would be appreciated. Thank you!

@s2t2 s2t2 added the question label Nov 28, 2024
@AlexanderWangY
Copy link

https://developer.spotify.com/blog/2024-11-27-changes-to-the-web-api

I believe the changes introduced to the spotify web API have deprecated some of the features you are trying to access. Specifically the audio features method.

@s2t2
Copy link
Contributor Author

s2t2 commented Nov 28, 2024

😭

@syphernl
Copy link

See #1172

@s2t2
Copy link
Contributor Author

s2t2 commented Nov 29, 2024

Really surprising mismanagement of their API without warning or recourse to keep the functionality.

@lemesdaniel
Copy link

Is there any alternative to get this data somewhere else?

@dieser-niko
Copy link
Member

Really surprising mismanagement of their API without warning or recourse to keep the functionality.

Honestly, it's not that surprising anymore. Spotify has done something like this before, changing an endpoint without warning (I think it was deleting a specific track from a playlist).

@richyxi
Copy link

richyxi commented Dec 2, 2024

for anybody who is interested: https://essentia.upf.edu/models.html

you can use Essentia which is a library focused on audio analysis. There are a plethora on models u can use to extract features.

Spotify won't take us down.

@omasseau
Copy link

omasseau commented Dec 8, 2024

for anybody who is interested: https://essentia.upf.edu/models.html

you can use Essentia which is a library focused on audio analysis. There are a plethora on models u can use to extract features.

Spotify won't take us down.

But you need the audio file, right ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants