package
1.80.0
Repository: https://github.com/markbates/goth.git
Documentation: pkg.go.dev

# Functions

New creates a new Spotify provider and sets up important connection details.

# Constants

ScopeAppRemoteControl seeks remote control playback of Spotify.
ScopePlaylistModifyPrivate seeks write access to a user's private playlists.
ScopePlaylistModifyPublic seeks write access to a user's public playlists.
ScopePlaylistReadPrivate seeks permission to read a user's collaborative playlists.
ScopePlaylistReadPrivate seeks permission to read a user's private playlists.
ScopeStreaming seeks to control playback of a Spotify track.
ScopeUGCImageUpload seeks write access to user-provided images.
ScopeUserFollowModify seeks write/delete access to the list of artists and other users that a user follows.
ScopeUserFollowRead seeks read access to the list of artists and other users that a user follows.
ScopeUserLibraryModify seeks write/delete access to a user's "Your Music" library.
ScopeUserLibraryRead seeks read access to a user's "Your Music" library.
ScopeUserModifyPlaybackState seeks write access to a user’s playback state.
ScopeUserReadCurrentlyPlaying seeks read access to a user’s currently playing track.
ScopeUserReadEmail seeks read access to a user's email address.
ScopeUserReadPlaybackState seeks read access to a user’s player state.
ScopeUserReadPrivate seeks read access to a user's subsription details (type of user account).
ScopeUserReadRecentlyPlayed seeks read access to a user’s recently played tracks.
ScopeUserTopRead seeks read access to a user's top artists and tracks.

# Structs

Provider is the implementation of `goth.Provider` for accessing Spotify.
Session stores data during the auth process with Spotify.