Skip to content
RubenJ01 edited this page Jan 25, 2026 · 4 revisions

LastFM Java Client

A Java client library for the Last.fm API.

Quick Start

Create a client and start making requests:

import io.github.rubeneekhof.lastfm.api.LastFmClient;

var apiKey = "your-api-key-here";
LastFmClient client = LastFmClient.builder()
    .apiKey(apiKey)
    .build();

var artist = client.artists().getInfo("Cher");

Installation

See Installation for Maven/Gradle setup instructions.

Documentation

What it does

  • Builder pattern for requests
  • Authentication support
  • Scrobbling
  • Helper classes for timestamps

License

MIT License - See LICENSE for details.

Clone this wiki locally