This is a Flask web application that retrieves information about a Spotify song using its track link. It utilizes the Spotify API to fetch details such as artist, track name, album, release date, popularity, duration, album cover URL, preview URL, audio features, and audio analysis.
The following packages are required to run this application. You can install them using pip
by running:
pip install -r requirements.txt
- os
- pandas
- Flask
- spotipy
-
Obtain your Spotify API credentials (client ID and client secret) from the Spotify Developer Dashboard.
-
Clone or download this repository.
-
Install the required packages using the command mentioned in the requirements section.
-
Replace the
client_id
andclient_secret
variables in the code with your own Spotify API credentials. -
Run the Flask application using the following command:
python app.py
-
Access the web application by visiting
http://localhost:5000
in your web browser. -
Enter a valid Spotify track link in the provided input field and click the "Get Info" button.
-
The application will display the retrieved song information on the dashboard page.
This project is licensed under the MIT License.