@maya many thanks!
I'm not really worried (in this case) to share my music preferences with last.fm. But I wish to have my own copy of this data.
@j ah! well, I only grab my charts like so:
curl 'https://ws.audioscrobbler.com/2.0/?method=user.getweeklyartistchart&user=USERNAME_GOES_HERE&api_key=API_KEY_GOES_HERE&format=json' | jq '.' >_data/artists.json
curl 'https://ws.audioscrobbler.com/2.0/?method=user.getweeklytrackchart&user=USERNAME_GOES_HERE&api_key=API_KEY_GOES_HERE&format=json' | jq '.' >_data/tracks.json
but if you wanted more granular data, they have
and you could set that up on a more aggressive cron
@j it looks like you can specify a time window, so paging through that once a day or so might work nicely
@j yw :) sometimes last.fm gives Problematic Unicode Escaped Characters (for emoji, stuff like that) so you may need to fuss with it a little more depending on what code parses it
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!