Skip to content

RubenJ01/lastfm-java-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LastFM Java Client

Java Lines of Code Maven License JitPack GitHub Stars GitHub Forks

A Java client for the Last.fm API.

Quick Start

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

Maven

<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>2.0.0</version>
    </dependency>
</dependencies>

Gradle

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

dependencies {
    implementation 'com.github.RubenJ01:lastfm-java-client:2.0.0'
}

Documentation

📚 Full documentation is available in the Wiki

📋 Changelog - Version history and release notes

What it does

  • Builder pattern for requests
  • Authentication support
  • Scrobbling
  • Pagination helpers for iterating over results
  • Helper classes for timestamps and dates

License

MIT License - See LICENSE for details.

About

Java client for the Last.fm API

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages