Skip to main content
Version: 2.0.0

SpotifyTrack

ruvyrias


ruvyrias / SpotifyTrack

Interface: SpotifyTrack

Defined in: types/Spotify.ts:94

Represents a Spotify track.

Properties

album

album: spotifyAlbum & object

Defined in: types/Spotify.ts:95

Type Declaration

album_group?

optional album_group: string

artists

artists: Omit<SpotifyArtist, "followers" | "images" | "genres" | "popularity">


artists

artists: SpotifyArtist[]

Defined in: types/Spotify.ts:102


available_markets

available_markets: string[]

Defined in: types/Spotify.ts:103


disc_number

disc_number: number

Defined in: types/Spotify.ts:104


duration_ms

duration_ms: number

Defined in: types/Spotify.ts:105


explicit

explicit: boolean

Defined in: types/Spotify.ts:106


external_ids

external_ids: object

Defined in: types/Spotify.ts:107

ean

ean: string

isrc

isrc: string

upc

upc: string


external_urls

external_urls: object

Defined in: types/Spotify.ts:112

spotify

spotify: string


href

href: string

Defined in: types/Spotify.ts:115


id

id: string

Defined in: types/Spotify.ts:116


is_local

is_local: boolean

Defined in: types/Spotify.ts:132


is_playable

is_playable: boolean

Defined in: types/Spotify.ts:117


linked_from

linked_from: object

Defined in: types/Spotify.ts:122

Description

not adding types cause it's a big object


name

name: string

Defined in: types/Spotify.ts:126


popularity

popularity: number

Defined in: types/Spotify.ts:127


preview_url

preview_url: string

Defined in: types/Spotify.ts:128


restrictions

restrictions: object

Defined in: types/Spotify.ts:123

reason

reason: string


track_number

track_number: number

Defined in: types/Spotify.ts:129


type

type: "track"

Defined in: types/Spotify.ts:130


uri

uri: string

Defined in: types/Spotify.ts:131