Last.fm archive tools
A small tool for downloading a Last.fm listening history as an XML file, then turning that archive into a self-contained HTML report.
Files
lastFmGetTracks.pde is an old Processing sketch that calls the Last.fm API page by page and saves the listening history as result.xml. It needs a Last.fm account and API key.
make_lastfm_visualizations.py reads that XML archive and generates a local statistics page with totals, artists, tracks, timelines and heatmaps.