SpotifyApiSpotify LogoJS

ClientOptions src/Interface.ts#L40

The options required for the Client.


Properties:

NameTypeDescription
cacheSettingsboolean | CacheSettingsThe cache settings for the client.
OPTIONAL
refreshTokenbooleanSet true to refresh token if the token is needed to be acquired if expired by default it is false.
OPTIONAL
retryOnRateLimitbooleanBoolean stating should the client retry when the request is rate limited or not by default it is true.
OPTIONAL
tokenAuthIdentityYour spotify web api token or some authenication details to generate one.
userAuthorizedTokenbooleanIf the token provided is a string and is user authroized set this to true.
OPTIONAL
onReadyunknownNo description found.
OPTIONAL
onRefreshunknownNo description found.
OPTIONAL