This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import httpx | |
| import spotipy | |
| from spotipy.oauth2 import SpotifyOAuth | |
| SPOTIPY_CLIENT_ID = "YOUR_CLIENT_ID_HERE" | |
| SPOTIPY_CLIENT_SECRET = "YOUR_CLIENT_SECRET_HERE" | |
| SPOTIPY_REDIRECT_URI = "http://127.0.0.1:8888/callback" | |
| SUPABASE_URL = "YOUR_SUPABASE_URL_HERE" | |
| SUPABASE_KEY = "YOUR_SUPABASE_ANON_KEY_HERE" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import spotipy | |
| from spotipy.oauth2 import SpotifyOAuth | |
| SPOTIPY_CLIENT_ID = "YOUR_CLIENT_ID_HERE" | |
| SPOTIPY_CLIENT_SECRET = "YOUR_CLIENT_SECRET_HERE" | |
| SPOTIPY_REDIRECT_URI = "http://127.0.0.1:8888/callback" | |
| sp = spotipy.Spotify(auth_manager=SpotifyOAuth( | |
| client_id="YOUR_CLIENT_ID_HERE", | |
| client_secret="YOUR_CLIENT_SECRET_HERE", |