spotifywebapipython.models.externalurls

@export
class ExternalUrls:

Spotify Web API ExternalUrls object.

Contains known external URLs for various object types: artist, track, etc.

ExternalUrls(root: dict = None)

Initializes a new instance of the class.

Arguments:
  • root (dict): Spotify Web API JSON response in dictionary format, used to load object attributes; otherwise, None to not load attributes.
Ean: str

International Article Number.

Isrc: str

International Standard Recording Code.

Spotify: str

The Spotify URL for the object.

Upc: str

Universal Product Code.

def ToDictionary(self) -> dict:

Returns a dictionary representation of the class.

def ToString(self) -> str:

Returns a displayable string representation of the class.