Which of my top last.fm (most listened to) artists have I seen or not seen live?
To answer the question above I'm using scrobbles from my last.fm account, the seen live
tag on my last.fm artists and the last.fm API together with some PowerShell.
$env:API_KEY = "<API Key>"
./src/main.ps1 -LastFmUserName <string> `
[[-NumberOfArtists] <string>] `
[[-InactiveArtistsFile] <string>] `
| Out-File artists.md
An up-to-date version of my list of artists (generated by GitHub Actions each night) can be found in the artists.md file.
See the latest run in Actions.
To be able to create a fork of this repo that runs towards your own last.fm account run the following steps:
- Create a last.fm API Account
- Fork this repo
- Go to repository settings in your fork => Secrets and variables
- Create a repository secret named
API_KEY
with the value of the last.fm API key - Create a new repository variable named
LASTFM_USERNAME
and set the value to your own last.fm username - Open the Update Artists workflow and choose Run workflow to trigger the workflow
- Check the resulting
artists.md
at the root of your repo after the run has completed to see your own statistics.
Remember that this utilizes the seen live
tag on artists to resolve which artists you've seen live. Also note that the list of inactive artist (link) is manually maintained and based on my artists, so you might need to adjust them in your fork.