If the user sets SPOTIPY_CLIENT_ID and SPOTIPY_CLIENT_SECRET as environment variables, they will automatically be passed to SpotifyClientCredentials or SpotifyOAuth, so we don't need to use input() to grab these.
With SpotifyClientCredentials we can't access endpoints with user information, only SpotifyOAuth can. The current goal is just public playlists, so we will start with SpotifyClientCredentials and update later if necessary
If the user sets
SPOTIPY_CLIENT_ID
andSPOTIPY_CLIENT_SECRET
as environment variables, they will automatically be passed toSpotifyClientCredentials
orSpotifyOAuth
, so we don't need to useinput()
to grab these.With
SpotifyClientCredentials
we can't access endpoints with user information, onlySpotifyOAuth
can. The current goal is just public playlists, so we will start withSpotifyClientCredentials
and update later if necessary