Simple Track
Simplified Playlist object that can be used to retrieve a full Playlist
Parameters
The artists who performed the track. Each artist object includes a link in href to more detailed information about the artist. identified by their ISO 3166-1 alpha-2 code.
The disc number (usually 1 unless the album consists of more than one disc).
The track length in milliseconds.
Whether or not the track has explicit lyrics ( true = yes it does; false = no it does not OR unknown).
A link to the Web API endpoint providing full details of the track.
The Spotify ID for the track.
Part of the response when Track Relinking is applied. If true , the track is playable in the given market. Otherwise false.
The name of the track.
A URL to a 30 second preview (MP3 format) of the track.
The number of the track. If an album has several discs, the track number is the number on the specified disc.
The object type: “track”.
Whether or not the track is from a local file.
the popularity of this track. possibly null
Part of the response when Track Relinking is applied, the original track is not available in the given market, and Spotify did not have any tracks to relink it with. The track response will still contain metadata for the original track, and a restrictions object containing the reason why the track is not available: "restrictions" : {"reason" : "market"}
Constructors
Properties
The API client associated with the request
A list of the countries in which the track can be played.
External IDs for this track.
Known external URLs for this object
The track length in milliseconds. Alias of durationMs
Part of the response when Track Relinking is applied and is only part of the response if the track linking, in fact, exists. The requested track has been replaced with a different track. The track contains information about the originally requested track.
The URI associated with the object
Functions
Check if this response has been relinked.
Converts this SimpleTrack into a full Track object with the given market
Converts this SimpleTrack into a full Track object with the given market