createSpotifyService

fun createSpotifyService(clientId: String, clientSecret: String, config: Config = Config()): SpotifyService(source)

Returns a SpotifyService which can be used to call Spotify APIs.

See the Doc to generate Client ID and Client Secret.

See Config to know the default configuration.

Return

SpotifyService

Parameters

clientId
clientSecret
config