spotifywebapipython.models.author

@export
class Author:

Spotify Web API Content Author object.

Contains information about content authors.

Author(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.
Name: str

The author name for this content.

def ToDictionary(self) -> dict:

Returns a dictionary representation of the class.

def ToString(self) -> str:

Returns a displayable string representation of the class.