This is a fork of an existing project that has been inactive since 2017.
The Last.fm API bindings for java are a BSD-licensed wrapper for the Last.fm api and the Last.fm submission service (scrobbling).
It provides classes and methods to invoke Last.fm API methods as well as scrobbling songs from within Java applications.
Add jitpack to repositories
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add to dependencies
<dependency>
<groupId>com.github.aklevans</groupId>
<artifactId>lastfm-java</artifactId>
<version>master-SNAPSHOT</version>
</dependency>
To get started, start here.
More documentation can be found in the Wiki.