id author title date pages extension mime words sentences flesch summary cache txt inkdroid-org-98 25 for 2020 .html text/html 819 83 77 But this year I thought it would be fun to use the LastFM API to look at my music listening history for 2020, and let the data do the talking as it were. The first problem that while LastFM is a good source of my listening history its metadata for albums seems quite sparse. The LastFM album.getInfo API call doesn't seem to return the year the album was published. So to get around this I used LastFM to get my listening history, but then the Discogs API to fetch metadata for a specific album using their search endpoint. "resource_url": "https://api.discogs.com/masters/14515", So I created a small function that looks up an artist/album combination using the Discogs search API. I applied the function to the Pandas DataFrame of my listening history, which was grouped by artist and album. I had actually listened to some of these albums quite often, and wanted to see if they were from 2020. ./cache/inkdroid-org-98.html ./txt/inkdroid-org-98.txt