← Examples

Build a quiz from your listening history

Five Last.fm queries supply the questions and answers for a twelve-question HTML quiz.

Last.fm lastfm.get_top_artistslastfm.get_top_trackslastfm.get_top_albumslastfm.get_recent_trackslastfm.get_listening_summary

Captured May 2026

From scrobbles to a quiz

Last.fm returns top artists, tracks, albums, and recent plays. Those records can supply a self-contained HTML quiz with scoring and feedback.

The prompt

Use the Toolforest Last.fm toolkit to make a self-contained interactive HTML quiz called "How well do you know your scrobbles?" Base it on my top artists, tracks, albums, and recent scrobbles.

The response

Use the Toolforest Last.fm toolkit to make a self-contained interactive HTML quiz called “How well do you know your scrobbles?” Base it on my top artists, tracks, albums, and recent scrobbles.

I’ll make this as a self-contained interactive HTML quiz you can open in a browser. I’ll refresh the Last.fm facts first, then generate the file with scoring and feedback.

Executing lastfm.get_top_artists Executing lastfm.get_top_tracks Executing lastfm.get_top_albums Executing lastfm.get_recent_tracks Executing lastfm.get_listening_summary

Here’s your quiz — twelve questions drawn from your listening history, with instant per-answer feedback and a final score.

The file

Five Last.fm calls supply the facts. The finished HTML opens on its own, reveals feedback after each answer, and keeps score across all twelve questions.