Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,6 +14,11 @@ SPOTIFY_AUTH_URL = "https://accounts.spotify.com/authorize"
|
|
| 14 |
SPOTIFY_TOKEN_URL = "https://accounts.spotify.com/api/token"
|
| 15 |
SPOTIFY_API_URL = "https://api.spotify.com/v1"
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
# Get Spotify authorization URL
|
| 18 |
@app.route('/login')
|
| 19 |
def login():
|
|
|
|
| 14 |
SPOTIFY_TOKEN_URL = "https://accounts.spotify.com/api/token"
|
| 15 |
SPOTIFY_API_URL = "https://api.spotify.com/v1"
|
| 16 |
|
| 17 |
+
|
| 18 |
+
@app.route('/')
|
| 19 |
+
def home():
|
| 20 |
+
return "Welcome to the test Spotify API app!"
|
| 21 |
+
|
| 22 |
# Get Spotify authorization URL
|
| 23 |
@app.route('/login')
|
| 24 |
def login():
|