spotifywebapipython.models.followers

@export
class Followers:

Spotify Web API Followers object.

Contains information about the followers of an artist.

Followers(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.
Href: str

This will always be set to null, as the Web API does not support it at the moment.

Total: int

The total number of followers.

Example: 31288

def ToDictionary(self) -> dict:

Returns a dictionary representation of the class.

def ToString(self) -> str:

Returns a displayable string representation of the class.