laststats

I've been scrobbling my music for a very long time. I really like being able to look back and see my tastes change as I listen to different artists over time.

One of the nice tools built on top of scrobbling was Tweekly.fm which posted a brief list of my most listened to artists to Twitter every weekend. Sadly, when Elon Musk took over Twitter, he made it prohibitively expensive for services like that to continue so the owner of the service, very sensibly, closed the service down.

This is a very quick program that starts to replicate the logic behind Tweekly.fm. It lists your ten most listened-to artists over the last seven days.

Currently, it just prints that list to the terminal. I'll probably work out a way to display the output publicly at some point.

Command line options

The values for --api-key and --api-secret can alternatively be read from environment variables called LASTFM_API_KEY and LASTFM_API_SECRET.

API KEY

As shown above, you will need an API key and secret. You can get these from: