getAudioFeatures

suspend fun getAudioFeatures(track: String): AudioFeatures

Get audio feature information for a single track identified by its unique Spotify ID.

Api Reference

Parameters

track

The id or uri for the track.

Throws

suspend fun getAudioFeatures(vararg tracks: String): List<AudioFeatures?>

Get audio features for multiple tracks based on their Spotify IDs.

Api Reference

Return

Ordered list of possibly-null AudioFeatures objects.

Parameters

tracks

vararg of track ids or uris. Maximum 100.