This application generates a network graph of artist collaborations using the Spotify API. Input a Spotify artist URL, and the program will showcase a visualization of that artist's collaborations with other artists.
DEMO.mp4
- app.py: The main script that starts and manages the Flask and Dash application.
- graph.py: Responsible for generating the network graph of artist collaborations.
- spoManager.py: Fetches information about artists and their collaborations using the Spotify API.
- utilities.py: Contains utility functions to save and load data.
- .env: Contains API keys and other necessary configurations.
- index.html: The user interface for the application.
- Ensure you have Python 3 installed on your machine.
- Clone this repository.
- Install the dependencies with
pip install -r requirements.txt
. - Set up your API keys in the
.env
file. - Run
app.py
to start the application.
- Access the application via your web browser.
- Enter a Spotify artist's profile URL.
- Click on "Generate Graph" to view the artist's collaborations.
For more detailed guides on installation, setup, usage, and troubleshooting, please check our Wiki.
Contributions are welcome. Please open a Pull Request if you wish to add or modify any functionality.