The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

The following documentation is automatically generated. Please do not edit this file, but rather the original, inline with Net::Async::Spotify::API::Generated::Tracks at lib/Net/Async/Spotify/API/Generated/Tracks.pm (on the system that originally ran this). If you do edit this file, and don't want your changes to be removed, make sure you change the first line.

NAME

Net::Async::Spotify::API::Generated::Tracks - Package representing Spotify Tracks API

DESCRIPTION

Autogenerated module. Based on https://developer.spotify.com/documentation/web-api/reference/#reference-index Check crawl-api-doc.pl for more information.

METHODS

get_audio_analysis

get_audio_analysis - Get Audio Analysis for a Track

Get a detailed audio analysis for a single track identified by its unique Spotify ID.

with Request details being:

Authorization

Type: string | Required: required valid access token from the Spotify Accounts service: see the Web API Authorization Guide for details.

path_parameter

id

Type: string | Required: required The Spotify ID for the track.

and Response Objects being:

- analysis object

On success, the HTTP status code in the response header is 200 OK and the response body contains an audio analysis object in JSON format. On error, the header status code is an error code and the response body contains an error object.Try in our Web Console

get_audio_features

get_audio_features - Get Audio Features for a Track

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

with Request details being:

header

Authorization

Type: string | Required: required A valid access token from the Spotify Accounts service: see the Web API Authorization Guide for details.

path_parameter

id

Type: string | Required: required The Spotify ID for the track.

and Response Objects being:

- features object

On success, the HTTP status code in the response header is 200 OK and the response body contains an audio features object in JSON format. On error, the header status code is an error code and the response body contains an error object.Try in our Web Console

get_several_audio_features

get_several_audio_features - Get Audio Features for Several Tracks

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

with Request details being:

header

Authorization

Type: string | Required: required A valid access token from the Spotify Accounts service: see the Web API Authorization Guide for details.

query_parameter

ids

Type: string | Required: required A comma-separated list of the Spotify IDs for the tracks. Maximum: 100 IDs.

and Response Objects being:

- an object - an object

On success, the HTTP status code in the response header is 200 OK and the response body contains an object whose key is "audio_features" and whose value is an array of audio features objects in JSON format.Objects are returned in the order requested. If an object is not found, a null value is returned in the appropriate position. Duplicate ids in the query will result in duplicate objects in the response. On error, the header status code is an error code and the response body contains an error object.Try in our Web Console

get_several_tracks

get_several_tracks - Get Several Tracks

Get Spotify catalog information for multiple tracks based on their Spotify IDs.

with Request details being:

header

Authorization

Type: string | Required: required A valid access token from the Spotify Accounts service: see the Web API Authorization Guide for details.

query_parameter

ids

Type: string | Required: required A comma-separated list of the Spotify IDs for the tracks. Maximum: 50 IDs.

market

Type: string | Required: optional An ISO 3166-1 alpha-2 country code or the string from_token. Provide this parameter if you want to apply Track Relinking.

and Response Objects being:

- an object - an object

On success, the HTTP status code in the response header is 200 OK and the response body contains an object whose key is tracks and whose value is an array of track objects in JSON format.Objects are returned in the order requested. If an object is not found, a null value is returned in the appropriate position. Duplicate ids in the query will result in duplicate objects in the response. On error, the header status code is an error code and the response body contains an error object.Try in our Web Console

get_track

get_track - Get a Track

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

with Request details being:

header

Authorization

Type: string | Required: required A valid access token from the Spotify Accounts service: see the Web API Authorization Guide for details.

path_parameter

id

Type: string | Required: required The Spotify ID for the track.

query_parameter

market

Type: string | Required: optional An ISO 3166-1 alpha-2 country code or the string from_token. Provide this parameter if you want to apply Track Relinking.

and Response Objects being:

- track object

On success, the HTTP status code in the response header is 200 OK and the response body contains a track object in JSON format. On error, the header status code is an error code and the response body contains an error object.Try in our Web Console

INHERITED METHODS

Net::Async::Spotify::API::Base

call_api, decode_response, new, parse_response, spotify