Skip to content

Audio API

Romain Monteil edited this page Jan 4, 2019 · 2 revisions

Audio API

Audio API reference

Get audio analysis for a track

$response = $spotify->audio()->analysis('11dFghVXANMlKmJXsNCbNl');

Return an instance of AudioAnalysisResponse

Get audio features for a track

$response = $spotify->audio()->features('0TnOYISbd1XYRBk9myaseg');

Return an instance of AudioFeaturesResponse

Get audio features for several tracks

$response = $spotify->audio()->features([
    '7ouMYWpwJ422jRcDASZB7P',
    '4VqPOruhp5EdPBeR92t6lQ',
    '2takcwOaAZWiXQijPHIx7B',
]);

Return an instance of AudioFeaturesResponse

Clone this wiki locally