getUrl()
getUrl() : string
Get the authorisation URL for the API.
request(string $method, string $url, array $data, \League\OAuth2\Client\Token\AccessToken $token) : \stdClass
Send a request and return the response.
| string | $method | The HTTP verb to use for the request | 
| string | $url | The url to issue the request to (https://api.ws.sonos.com/control/api/v1/ is optional) | 
| array | $data | The parameters to send with the request | 
| \League\OAuth2\Client\Token\AccessToken | $token | The access token for authorisation | 
getUser(string $username, \Psr\SimpleCache\CacheInterface|null $cache = null) : \duncan3dc\Sonos\Cloud\Interfaces\UserInterface
Get a user instance.
| string | $username | |
| \Psr\SimpleCache\CacheInterface|null | $cache |