A Java client for the Last.fm API.
import io.github.rubeneekhof.lastfm.api.LastFmClient;
var apiKey = "your-api-key-here";
LastFmClient client = LastFmClient.create(apiKey);
var artist = client.artists().getInfo("Cher");<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.RubenJ01</groupId>
<artifactId>lastfm-java-client</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.RubenJ01:lastfm-java-client:1.0.0'
}📚 Full documentation is available in the Wiki
- Installation - Maven/Gradle setup
- Basic Usage - Getting started guide
- Authentication - Setting up authenticated requests
- Scrobbling - Recording listening history
- UnixTime Utilities - Timestamp helper documentation
- API Reference - Complete API coverage
- Project Structure - Architecture overview
- Builder pattern for requests
- Authentication support
- Scrobbling
- Helper classes for timestamps and dates
MIT License - See LICENSE for details.