You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
The AudioAnalysis and AudioFeature API calls in Spotify have been deprecated, resulting in errors when attempting to use these methods in the Flutter Spotify package at lib/src/endpoints/audio_analysis.dart, lib/src/endpoints/audio_features.dart and lib/src/endpoints/recommendations.dart.
Steps to get the error:
Use the AudioAnalysis or AudioFeature method provided by the package.
Run the application and observe the error in the response.
Expected Behavior:
The methods should either function correctly (if alternative endpoints are available) or be removed/deprecated from the package to avoid confusion.
Actual Behavior:
API calls result in errors, likely due to Spotify deprecating these endpoints.
Possible Solution:
Update the package to use Spotify’s recommended alternative APIs (if available).
Clearly mark the methods as deprecated in the documentation and provide guidance on alternatives.
If no alternatives exist, consider removing these methods to prevent usage errors.
Version of the Spotify Flutter package being used: [0.13.7].
This issue affects users relying on these methods.
The text was updated successfully, but these errors were encountered:
Prakash251299
changed the title
Deprecated Spotify APIs Causing Errors: AudioAnalysis and AudioFeature Methods in spotify: ^0.13.7
Deprecated Spotify APIs Causing Errors: AudioAnalysis, AudioFeature and Recommendations Methods in spotify: ^0.13.7
Dec 5, 2024
@Prakash251299 thank you for pointing this out.
There is a whole bunch of API's that are now deprecated.
Regarding that blog post, there are no alternatives either, which is very unfortunate.
@rinukkusu I suggest not to remove the endpoints, but to mark them as depracated with a clear warning that spotify will shut down these endponts sometime in the future and that our users should use them at their own risk. What do you think?
Description:
The AudioAnalysis and AudioFeature API calls in Spotify have been deprecated, resulting in errors when attempting to use these methods in the Flutter Spotify package at lib/src/endpoints/audio_analysis.dart, lib/src/endpoints/audio_features.dart and lib/src/endpoints/recommendations.dart.
Steps to get the error:
Use the AudioAnalysis or AudioFeature method provided by the package.
Run the application and observe the error in the response.
Expected Behavior:
The methods should either function correctly (if alternative endpoints are available) or be removed/deprecated from the package to avoid confusion.
Actual Behavior:
API calls result in errors, likely due to Spotify deprecating these endpoints.
Possible Solution:
Update the package to use Spotify’s recommended alternative APIs (if available).
Clearly mark the methods as deprecated in the documentation and provide guidance on alternatives.
If no alternatives exist, consider removing these methods to prevent usage errors.
Additional Context:
Spotify's API deprecation notice:
https://developer.spotify.com/documentation/web-api/reference/get-audio-features
https://developer.spotify.com/documentation/web-api/reference/get-audio-analysis
https://developer.spotify.com/documentation/web-api/reference/get-recommendations
Version of the Spotify Flutter package being used: [0.13.7].
This issue affects users relying on these methods.
The text was updated successfully, but these errors were encountered: