Home / Last Played
🎵

Last Played Track

Create a dynamic SVG showing your most recently played track

GET /lastfm-last-played

Create a dynamic visualization of your most recently played track on Last.fm, complete with album artwork background and track details.

Parameters

Parameter Description
username Last.fm username default: RussMckendrick
width Width of generated SVG in pixels default: 500
debug Show debug information optional

Features

🖼️
Album Artwork Background
Dynamic background using album cover
🔄
Real-time Updates
No caching for up-to-date information
Gradient Overlay
Better text visibility on any artwork
📐
Auto Text Scaling
Responsive text based on width

Examples

Example

![Last Played](https://www.russ.rest/lastfm-last-played?username=RussMckendrick&width=900)
Last played example

Use in GitHub README

<img src="https://www.russ.rest/lastfm-last-played?username=YourUsername&width=600" alt="Currently listening">