An open API service indexing awesome lists of open source software.

https://github.com/rollecode/lastfm-year-in-review

Last.fm year in review.
https://github.com/rollecode/lastfm-year-in-review

Last synced: 27 days ago
JSON representation

Last.fm year in review.

Awesome Lists containing this project

README

          

# Last.fm year in review

A Python script to fetch your Last.fm listening history for the year 2024.

## Features

- Fetches all tracks scrobbled in 2024
- Handles API rate limiting gracefully
- Displays first and last 5 tracks from the period
- Shows total track count for the time period

## Prerequisites

- Python 3.x
- Last.fm API key
- Last.fm account

## Installation

1. Clone this repository
2. Install dependencies

```bash
pip install pylast python-dotenv
```

3. Add .env.
4. Run script:

```bash
python lastfm.py
```