Package-level declarations
Types
The type of Spotify authorization used to build an Api instance
Represents a generic instance of the Spotify API client, with common functionality and information between implementations of the API
Spotify Api builder interface
App Api builder interface
Client interface exposing getAuthorizationUrl
Represents an instance of the Spotify API client, with common functionality and information between the SpotifyClientApi and SpotifyAppApi implementations of the API
Spotify API builder
API Utilities
An API instance created with application credentials, not through client authentication
SpotifyAppApi builder for api creation using client authorization
An API instance created through client authentication, with access to private information managed through the scopes exposed in token
SpotifyClientApi builder for api creation using client authorization
A holder for application-specific credentials
An API instance created through implicit grant flow, with access to private information managed through the scopes exposed in token. token is not refreshable and is only accessible for limited time.
Provides a uniform interface to retrieve, whether synchronously or asynchronously, T from Spotify
Scopes provide Spotify users using third-party apps the confidence that only the information they choose to share will be shared, and nothing more.
Functions
Get the authorization url for the provided clientId and redirectUri application settings, when attempting to authorize with specified scopes
Get the PKCE authorization url for the provided clientId and redirectUri application settings, when attempting to authorize with specified scopes
A utility to get the pkce code challenge for a corresponding code verifier. Only available on JVM/Android
Refresh a Spotify client token
Instantiate a new SpotifyAppApiBuilder by providing a builder initialization block.
Instantiate a new SpotifyAppApiBuilder using a Spotify clientId and clientSecret.
Instantiate a new SpotifyAppApiBuilder using a Spotify clientId and clientSecret, with the ability to configure the api settings by providing a builder initialization block
Instantiate a new SpotifyAppApiBuilder using a Token
Instantiate a new SpotifyClientApiBuilder by providing a builder initialization block
Instantiate a new SpotifyClientApiBuilder using a Spotify clientId, clientSecret, and redirectUri.
Instantiate a new SpotifyClientApiBuilder using a Spotify clientId, clientSecret, and redirectUri, with the ability to configure the api settings by providing a builder initialization block
Instantiate a new SpotifyClientApiBuilder using a Spotify clientId, clientSecret, and redirectUri, with an existing SpotifyUserAuthorization.
Instantiate a new SpotifyClientApiBuilder. This is for PKCE authorization.
Instantiate a new SpotifyImplicitGrantApi using a Spotify clientId, and token retrieved from the implicit grant flow.