spotifywebapipython.models.userprofile
Spotify Web API User Profile object.
Information about the user from their account profile.
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.
The country of the user, as set in the user's account profile.
An ISO 3166-1 alpha-2 country code.
This field is only available when the current user has granted access to
the user-read-private
scope.
Example: US
The user's email address, as entered by the user when creating their account. Important! This email address is unverified; there is no proof that it actually belongs to the user.
This field is only available when the current user has granted access to
the user-read-email
scope.
Example: johnsmith@example.com
The user's explicit content settings.
This field is only available when the current user has granted access to
the user-read-private
scope.