This module contains classes relating to Third Party music services.
An account for a Music Service.
Each service may have more than one account: see the Sonos release notes for version 5-2
str: A unique identifier for the music service to which this account relates, eg
str: A unique identifier for this account
str: The account’s nickname
str: The username used for logging into the music service
str: Metadata for the account
str: Used for OpenAuth id for some services
str: Used for OpenAuthid for some services
Get all accounts known to the Sonos system.
Parameters: soco (
SoCo, optional) – a
SoCoinstance to query. If
None, a random instance is used. Defaults to
Returns: A dict containing account instances. Each key is the account’s serial number, and each value is the related Account instance. Accounts which have been marked as deleted are excluded. Return type: dict
Any existing Account instance will have its attributes updated to those currently stored on the Sonos system.