zacharyeller13 / spotipylist

Python command line application to create local playlists by matching tracks from Spotify playlists with those in your local music library
MIT License
0 stars 0 forks source link

Get Spotify client credentials from user to authenticate #12

Closed zacharyeller13 closed 3 years ago

zacharyeller13 commented 3 years ago

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