Reference

Spotify.authorizeMethod
authorize()

Get and store client credentials. Any other credentials will be dropped.

source
Spotify.max_acousticnessFunction

For each tunable track attribute, a hard ceiling on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.

source
Spotify.max_danceabilityFunction

For each tunable track attribute, a hard ceiling on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.

source
Spotify.max_duration_msFunction

For each tunable track attribute, a hard ceiling on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.

source
Spotify.max_energyFunction

For each tunable track attribute, a hard ceiling on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.

source
Spotify.max_instrumentalnessFunction

For each tunable track attribute, a hard ceiling on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.

source
Spotify.max_keyFunction

For each tunable track attribute, a hard ceiling on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.

source
Spotify.max_livenessFunction

For each tunable track attribute, a hard ceiling on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.

source
Spotify.max_loudnessFunction

For each tunable track attribute, a hard ceiling on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.

source
Spotify.max_modeFunction

For each tunable track attribute, a hard ceiling on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.

source
Spotify.max_popularityFunction

For each tunable track attribute, a hard ceiling on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.

source
Spotify.max_speechinessFunction

For each tunable track attribute, a hard ceiling on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.

source
Spotify.max_tempoFunction

For each tunable track attribute, a hard ceiling on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.

source
Spotify.max_time_signatureFunction

For each tunable track attribute, a hard ceiling on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.

source
Spotify.max_valenceFunction

For each tunable track attribute, a hard ceiling on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.

source
Spotify.min_acousticnessFunction

For each tunable track attribute, a hard floor on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.

source
Spotify.min_danceabilityFunction

For each tunable track attribute, a hard floor on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.

source
Spotify.min_duration_msFunction

For each tunable track attribute, a hard floor on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.

source
Spotify.min_energyFunction

For each tunable track attribute, a hard floor on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.

source
Spotify.min_instrumentalnessFunction

For each tunable track attribute, a hard floor on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.

source
Spotify.min_keyFunction

For each tunable track attribute, a hard floor on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.

source
Spotify.min_livenessFunction

For each tunable track attribute, a hard floor on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.

source
Spotify.min_loudnessFunction

For each tunable track attribute, a hard floor on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.

source
Spotify.min_modeFunction

For each tunable track attribute, a hard floor on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.

source
Spotify.min_popularityFunction

For each tunable track attribute, a hard floor on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.

source
Spotify.min_speechinessFunction

For each tunable track attribute, a hard floor on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.

source
Spotify.min_tempoFunction

For each tunable track attribute, a hard floor on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.

source
Spotify.min_time_signatureFunction

For each tunable track attribute, a hard floor on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.

source
Spotify.min_valenceFunction

For each tunable track attribute, a hard floor on the selected track attribute’s value can be provided. See tunable track attributes below for the list of available options. For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.

source
Spotify.open_a_browserMethod

Try to open one browser from BROWSERS. In some cases we expect an immediate indication of failure, for example when the corresponding browser is not found on the system. In other cases, we will just wait in vain. In those cases, call this function again after a reasonable timeout. The function remembers which browsers were tried before.

source
Spotify.player_get_current_trackMethod
player_get_current_track(;additional_types::String="track", market::String="US")

Summary: Get the object currently being played on the user's Spotify account.

Optional keywords

  • additional_types::String : "track" (default) or "episode"
  • market::String : An ISO 3166-1 alpha-2 country code. If a country code is specified, only episodes that are available in that market will be returned. Default is set to "US".

Example

julia> Spotify.player_get_current_track()[1]
[ Info: We try the request without checking if current grant includes scope user-read-playback-state.
JSON3.Object{Base.CodeUnits{UInt8, String}, Vector{UInt64}} with 7 entries:
  :timestamp              => 1636491068506
  :context                => {…
  :progress_ms            => 5265
  :item                   => {…
  :currently_playing_type => "track"
  :actions                => {…
  :is_playing             => true
source
Spotify.player_get_devicesMethod
player_get_devices()

Summary: Get information about a user’s available devices.

Example

julia> Spotify.player_get_devices()[1]["devices"]
2-element JSON3.Array{JSON3.Object, Base.CodeUnits{UInt8, String}, SubArray{UInt64, 1, Vector{UInt64}, Tuple{UnitRange{Int64}}, true}}:
{
                   "id": "your_device_id",
            "is_active": false,
   "is_private_session": false,
        "is_restricted": false,
                 "name": "Web Player (Chrome)",
                 "type": "Computer",
       "volume_percent": 100
}
source
Spotify.player_get_stateMethod
player_get_state(;additional_types::String="track", market::String="US")

Summary: Get information about the user’s current playback state, including track or episode, progress, and active device.

Optional keywords

  • additional_types::String : "track" (default) or "episode"
  • market::String : An ISO 3166-1 alpha-2 country code. If a country code is specified, only episodes that are available in that market will be returned. Default is set to "US".

Example

julia> Spotify.player_get_state()[1]
[ Info: We try the request without checking if current grant includes scope user-read-playback-state.
JSON3.Object{Base.CodeUnits{UInt8, String}, Vector{UInt64}} with 10 entries:
  :device                 => {…
  :shuffle_state          => false
  :repeat_state           => "off"
  :timestamp              => 1636493367689
  :context                => {…
  :progress_ms            => 66454
  :item                   => {…
  :currently_playing_type => "track"
  :actions                => {…
  :is_playing             => true
source
Spotify.recommendations_getFunction

Get Recommendations Based on Seeds

seeds: (Required) A dictionary containing keys(seedgenres, seedartists, seed_tracks) and values for each key being seeds delimeted by a comma up to 5 seeds for each category

Example

Dict("seedartists" => "s33dart1st,s33edart!st2", "seedgenres" => "g3nre1,genr32", "seed_tracks" => "trackid1,trackid2")

trackattributes: (Optional) a dictionary containing key values for different tunable track trackattributes

See https://developer.spotify.com/documentation/web-api/reference/browse/get-recommendations/

source
Spotify.spotify_requestFunction
spotify_request(url_ext::String, method::String= "GET"; scope = "client-credentials")
 -> (r::JSON3.Object, retry_in_seconds::Int)

Access the Spotify Web API. Error results return an empty Object. Errors are written to 'stderr', expect for 'API rate limit exceeded', as the output would typically occur in the middle of recursive calls.

source
Spotify.strip_embed_codeMethod
strip_embed_code(sdvs<substring>)
-> Spid(<substring>)

Get the interesting part for pasting:

Spotify app -> Right click -> Share -> Copy embed code to clipboard

source
Spotify.target_acousticnessFunction

For each of the tunable track attributes (below) a target value may be provided. Tracks with the attribute values nearest to the target values will be preferred. For example, you might request targetenergy=0.6 and targetdanceability=0.8. All target values will be weighed equally in ranking results.

source
Spotify.target_danceabilityFunction

For each of the tunable track attributes (below) a target value may be provided. Tracks with the attribute values nearest to the target values will be preferred. For example, you might request targetenergy=0.6 and targetdanceability=0.8. All target values will be weighed equally in ranking results.

source
Spotify.target_duration_msFunction

For each of the tunable track attributes (below) a target value may be provided. Tracks with the attribute values nearest to the target values will be preferred. For example, you might request targetenergy=0.6 and targetdanceability=0.8. All target values will be weighed equally in ranking results.

source
Spotify.target_energyFunction

For each of the tunable track attributes (below) a target value may be provided. Tracks with the attribute values nearest to the target values will be preferred. For example, you might request targetenergy=0.6 and targetdanceability=0.8. All target values will be weighed equally in ranking results.

source
Spotify.target_instrumentalnessFunction

For each of the tunable track attributes (below) a target value may be provided. Tracks with the attribute values nearest to the target values will be preferred. For example, you might request targetenergy=0.6 and targetdanceability=0.8. All target values will be weighed equally in ranking results.

source
Spotify.target_keyFunction

For each of the tunable track attributes (below) a target value may be provided. Tracks with the attribute values nearest to the target values will be preferred. For example, you might request targetenergy=0.6 and targetdanceability=0.8. All target values will be weighed equally in ranking results.

source
Spotify.target_livenessFunction

For each of the tunable track attributes (below) a target value may be provided. Tracks with the attribute values nearest to the target values will be preferred. For example, you might request targetenergy=0.6 and targetdanceability=0.8. All target values will be weighed equally in ranking results.

source
Spotify.target_loudnessFunction

For each of the tunable track attributes (below) a target value may be provided. Tracks with the attribute values nearest to the target values will be preferred. For example, you might request targetenergy=0.6 and targetdanceability=0.8. All target values will be weighed equally in ranking results.

source
Spotify.target_modeFunction

For each of the tunable track attributes (below) a target value may be provided. Tracks with the attribute values nearest to the target values will be preferred. For example, you might request targetenergy=0.6 and targetdanceability=0.8. All target values will be weighed equally in ranking results.

source
Spotify.target_popularityFunction

For each of the tunable track attributes (below) a target value may be provided. Tracks with the attribute values nearest to the target values will be preferred. For example, you might request targetenergy=0.6 and targetdanceability=0.8. All target values will be weighed equally in ranking results.

source
Spotify.target_speechinessFunction

For each of the tunable track attributes (below) a target value may be provided. Tracks with the attribute values nearest to the target values will be preferred. For example, you might request targetenergy=0.6 and targetdanceability=0.8. All target values will be weighed equally in ranking results.

source
Spotify.target_tempoFunction

For each of the tunable track attributes (below) a target value may be provided. Tracks with the attribute values nearest to the target values will be preferred. For example, you might request targetenergy=0.6 and targetdanceability=0.8. All target values will be weighed equally in ranking results.

source
Spotify.target_time_signatureFunction

For each of the tunable track attributes (below) a target value may be provided. Tracks with the attribute values nearest to the target values will be preferred. For example, you might request targetenergy=0.6 and targetdanceability=0.8. All target values will be weighed equally in ranking results.

source
Spotify.target_valenceFunction

For each of the tunable track attributes (below) a target value may be provided. Tracks with the attribute values nearest to the target values will be preferred. For example, you might request targetenergy=0.6 and targetdanceability=0.8. All target values will be weighed equally in ranking results.

source
Spotify.SpAlbumIdType

All web API arguments are strings, but types SpUri, SpId, CategoryId, SpUserId, SpUrl aids in picking default values. format

PARAMETERDESCRIPTIONVALUE
SpUriThe resource identifier that you can enter, for example, in the
Spotify Desktop client’s search box to locate an artist,
album, or track. To find a Spotify URI simply right-
click (on Windows) or Ctrl-Click (on a Mac) onspotify:track:
the artist’s or album’s or track’s name.6rqhFgbbKwnb9MLmUQDhG6
SpIdThe base-62 identifier that you can find at the end of the
Spotify URI (see above) for an artist, track, album,
playlist, etc. Unlike a Spotify URI, a Spotify ID does
not clearly identify the type of resource; that information is
provided elsewhere in the call.6rqhFgbbKwnb9MLmUQDhG6
SpCategoryIdThe unique string identifying the Spotify category.party
SpUserIdThe unique string identifying the Spotify user that you can
find at the end of the Spotify URI for the user. The ID
of the current user can be obtained via the Web API endpoint.wizzler
SpUrlAn HTML link that opens a track, album, app, playlist or other
Spotify resource in a Spotify client (which client
is determined by the user’s device andhttp://open.spotify.com/
account settings at play.spotify.com.track/6rqhFgbbKwnb9MLmUQDhG6
source
Spotify.SpArtistIdType

All web API arguments are strings, but types SpUri, SpId, CategoryId, SpUserId, SpUrl aids in picking default values. format

PARAMETERDESCRIPTIONVALUE
SpUriThe resource identifier that you can enter, for example, in the
Spotify Desktop client’s search box to locate an artist,
album, or track. To find a Spotify URI simply right-
click (on Windows) or Ctrl-Click (on a Mac) onspotify:track:
the artist’s or album’s or track’s name.6rqhFgbbKwnb9MLmUQDhG6
SpIdThe base-62 identifier that you can find at the end of the
Spotify URI (see above) for an artist, track, album,
playlist, etc. Unlike a Spotify URI, a Spotify ID does
not clearly identify the type of resource; that information is
provided elsewhere in the call.6rqhFgbbKwnb9MLmUQDhG6
SpCategoryIdThe unique string identifying the Spotify category.party
SpUserIdThe unique string identifying the Spotify user that you can
find at the end of the Spotify URI for the user. The ID
of the current user can be obtained via the Web API endpoint.wizzler
SpUrlAn HTML link that opens a track, album, app, playlist or other
Spotify resource in a Spotify client (which client
is determined by the user’s device andhttp://open.spotify.com/
account settings at play.spotify.com.track/6rqhFgbbKwnb9MLmUQDhG6
source
Spotify.SpCategoryIdType

All web API arguments are strings, but types SpUri, SpId, CategoryId, SpUserId, SpUrl aids in picking default values. format

PARAMETERDESCRIPTIONVALUE
SpUriThe resource identifier that you can enter, for example, in the
Spotify Desktop client’s search box to locate an artist,
album, or track. To find a Spotify URI simply right-
click (on Windows) or Ctrl-Click (on a Mac) onspotify:track:
the artist’s or album’s or track’s name.6rqhFgbbKwnb9MLmUQDhG6
SpIdThe base-62 identifier that you can find at the end of the
Spotify URI (see above) for an artist, track, album,
playlist, etc. Unlike a Spotify URI, a Spotify ID does
not clearly identify the type of resource; that information is
provided elsewhere in the call.6rqhFgbbKwnb9MLmUQDhG6
SpCategoryIdThe unique string identifying the Spotify category.party
SpUserIdThe unique string identifying the Spotify user that you can
find at the end of the Spotify URI for the user. The ID
of the current user can be obtained via the Web API endpoint.wizzler
SpUrlAn HTML link that opens a track, album, app, playlist or other
Spotify resource in a Spotify client (which client
is determined by the user’s device andhttp://open.spotify.com/
account settings at play.spotify.com.track/6rqhFgbbKwnb9MLmUQDhG6
source
Spotify.SpIdType

All web API arguments are strings, but types SpUri, SpId, CategoryId, SpUserId, SpUrl aids in picking default values. format

PARAMETERDESCRIPTIONVALUE
SpUriThe resource identifier that you can enter, for example, in the
Spotify Desktop client’s search box to locate an artist,
album, or track. To find a Spotify URI simply right-
click (on Windows) or Ctrl-Click (on a Mac) onspotify:track:
the artist’s or album’s or track’s name.6rqhFgbbKwnb9MLmUQDhG6
SpIdThe base-62 identifier that you can find at the end of the
Spotify URI (see above) for an artist, track, album,
playlist, etc. Unlike a Spotify URI, a Spotify ID does
not clearly identify the type of resource; that information is
provided elsewhere in the call.6rqhFgbbKwnb9MLmUQDhG6
SpCategoryIdThe unique string identifying the Spotify category.party
SpUserIdThe unique string identifying the Spotify user that you can
find at the end of the Spotify URI for the user. The ID
of the current user can be obtained via the Web API endpoint.wizzler
SpUrlAn HTML link that opens a track, album, app, playlist or other
Spotify resource in a Spotify client (which client
is determined by the user’s device andhttp://open.spotify.com/
account settings at play.spotify.com.track/6rqhFgbbKwnb9MLmUQDhG6
source
Spotify.SpPlaylistIdType

All web API arguments are strings, but types SpUri, SpId, CategoryId, SpUserId, SpUrl aids in picking default values. format

PARAMETERDESCRIPTIONVALUE
SpUriThe resource identifier that you can enter, for example, in the
Spotify Desktop client’s search box to locate an artist,
album, or track. To find a Spotify URI simply right-
click (on Windows) or Ctrl-Click (on a Mac) onspotify:track:
the artist’s or album’s or track’s name.6rqhFgbbKwnb9MLmUQDhG6
SpIdThe base-62 identifier that you can find at the end of the
Spotify URI (see above) for an artist, track, album,
playlist, etc. Unlike a Spotify URI, a Spotify ID does
not clearly identify the type of resource; that information is
provided elsewhere in the call.6rqhFgbbKwnb9MLmUQDhG6
SpCategoryIdThe unique string identifying the Spotify category.party
SpUserIdThe unique string identifying the Spotify user that you can
find at the end of the Spotify URI for the user. The ID
of the current user can be obtained via the Web API endpoint.wizzler
SpUrlAn HTML link that opens a track, album, app, playlist or other
Spotify resource in a Spotify client (which client
is determined by the user’s device andhttp://open.spotify.com/
account settings at play.spotify.com.track/6rqhFgbbKwnb9MLmUQDhG6
source
Spotify.SpUriType

All web API arguments are strings, but types SpUri, SpId, CategoryId, SpUserId, SpUrl aids in picking default values. format

PARAMETERDESCRIPTIONVALUE
SpUriThe resource identifier that you can enter, for example, in the
Spotify Desktop client’s search box to locate an artist,
album, or track. To find a Spotify URI simply right-
click (on Windows) or Ctrl-Click (on a Mac) onspotify:track:
the artist’s or album’s or track’s name.6rqhFgbbKwnb9MLmUQDhG6
SpIdThe base-62 identifier that you can find at the end of the
Spotify URI (see above) for an artist, track, album,
playlist, etc. Unlike a Spotify URI, a Spotify ID does
not clearly identify the type of resource; that information is
provided elsewhere in the call.6rqhFgbbKwnb9MLmUQDhG6
SpCategoryIdThe unique string identifying the Spotify category.party
SpUserIdThe unique string identifying the Spotify user that you can
find at the end of the Spotify URI for the user. The ID
of the current user can be obtained via the Web API endpoint.wizzler
SpUrlAn HTML link that opens a track, album, app, playlist or other
Spotify resource in a Spotify client (which client
is determined by the user’s device andhttp://open.spotify.com/
account settings at play.spotify.com.track/6rqhFgbbKwnb9MLmUQDhG6
source
Spotify.SpUrlType

All web API arguments are strings, but types SpUri, SpId, CategoryId, SpUserId, SpUrl aids in picking default values. format

PARAMETERDESCRIPTIONVALUE
SpUriThe resource identifier that you can enter, for example, in the
Spotify Desktop client’s search box to locate an artist,
album, or track. To find a Spotify URI simply right-
click (on Windows) or Ctrl-Click (on a Mac) onspotify:track:
the artist’s or album’s or track’s name.6rqhFgbbKwnb9MLmUQDhG6
SpIdThe base-62 identifier that you can find at the end of the
Spotify URI (see above) for an artist, track, album,
playlist, etc. Unlike a Spotify URI, a Spotify ID does
not clearly identify the type of resource; that information is
provided elsewhere in the call.6rqhFgbbKwnb9MLmUQDhG6
SpCategoryIdThe unique string identifying the Spotify category.party
SpUserIdThe unique string identifying the Spotify user that you can
find at the end of the Spotify URI for the user. The ID
of the current user can be obtained via the Web API endpoint.wizzler
SpUrlAn HTML link that opens a track, album, app, playlist or other
Spotify resource in a Spotify client (which client
is determined by the user’s device andhttp://open.spotify.com/
account settings at play.spotify.com.track/6rqhFgbbKwnb9MLmUQDhG6
source
Spotify.SpUserIdType

All web API arguments are strings, but types SpUri, SpId, CategoryId, SpUserId, SpUrl aids in picking default values. format

PARAMETERDESCRIPTIONVALUE
SpUriThe resource identifier that you can enter, for example, in the
Spotify Desktop client’s search box to locate an artist,
album, or track. To find a Spotify URI simply right-
click (on Windows) or Ctrl-Click (on a Mac) onspotify:track:
the artist’s or album’s or track’s name.6rqhFgbbKwnb9MLmUQDhG6
SpIdThe base-62 identifier that you can find at the end of the
Spotify URI (see above) for an artist, track, album,
playlist, etc. Unlike a Spotify URI, a Spotify ID does
not clearly identify the type of resource; that information is
provided elsewhere in the call.6rqhFgbbKwnb9MLmUQDhG6
SpCategoryIdThe unique string identifying the Spotify category.party
SpUserIdThe unique string identifying the Spotify user that you can
find at the end of the Spotify URI for the user. The ID
of the current user can be obtained via the Web API endpoint.wizzler
SpUrlAn HTML link that opens a track, album, app, playlist or other
Spotify resource in a Spotify client (which client
is determined by the user’s device andhttp://open.spotify.com/
account settings at play.spotify.com.track/6rqhFgbbKwnb9MLmUQDhG6
source
Spotify.BROWSERSConstant

A list of potentially available browsers, to be tried in succession if present

source
Spotify.DEFAULT_IMPLICIT_GRANTConstant

These permissions are not requested until the current scope is insufficient, or the user calls 'getimplicitgrant()'

Default requested permissions are 'client-credentials'.

source