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.
- Host: GitHub
- URL: https://github.com/rollecode/lastfm-year-in-review
- Owner: rollecode
- Created: 2024-12-31T20:15:13.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-31T20:17:10.000Z (over 1 year ago)
- Last Synced: 2026-05-02T13:33:30.701Z (28 days ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```