A Python application that uses the Last.fm API to analyse metal music bands; their tracks, albums, and popularity amongst other bands.
It can also be used as an overall artist analyser, since it works just fine with any artist given.
Important
To include a metal band (or any band or artist) in analysis they have to be written in the bands.txt file.
- Fetches information about metal bands, albums, tracks, their biography, their genre and similar artists from LastFM API.
- Analyses most frequently played tracks, top albums, where the band places on a ranking based on listeners and playcount amongst bands in bands.txt.
- Visualizes the band's top five tracks.
- Visualizes four bands that surround the band searched based on their popularity using graphs.
Important
Without these steps, this app will not work.
- Go to Last.fm API page and sign up for an account (if you don't already have one).
- Create a new API application and get your API Key.
Clone the repository to your local machine:
git clone https://github.com/nicoxeye/Metal-Music-Analyser.git
Create a .env
file in the root of the project and add your key as follows:
API_KEY=your-api-key-here
Caution
Never commit your API keys on GitHub.
In your terminal:
pip install requirements.txt
Then run main.py and have fun :D