Skip to content

RubenJ01/lastfm-java-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LastFM Java Client

Java Maven Lines of Code

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.create(apiKey);

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

Gradle

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

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

Documentation

📚 Full documentation is available in the Wiki

What it does

  • Builder pattern for requests
  • Authentication support
  • Scrobbling
  • 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