JDiscogs

Java client for Discogs API and Data

License

License

GroupId

GroupId

org.ruaux
ArtifactId

ArtifactId

jdiscogs
Last Version

Last Version

2.2.1
Release Date

Release Date

Type

Type

jar
Description

Description

JDiscogs
Java client for Discogs API and Data
Project URL

Project URL

https://github.com/jruaux/jdiscogs
Source Code Management

Source Code Management

https://github.com/jruaux/jdiscogs

Download jdiscogs

How to add to project

<!-- https://jarcasting.com/artifacts/org.ruaux/jdiscogs/ -->
<dependency>
    <groupId>org.ruaux</groupId>
    <artifactId>jdiscogs</artifactId>
    <version>2.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.ruaux/jdiscogs/
implementation 'org.ruaux:jdiscogs:2.2.1'
// https://jarcasting.com/artifacts/org.ruaux/jdiscogs/
implementation ("org.ruaux:jdiscogs:2.2.1")
'org.ruaux:jdiscogs:jar:2.2.1'
<dependency org="org.ruaux" name="jdiscogs" rev="2.2.1">
  <artifact name="jdiscogs" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.ruaux', module='jdiscogs', version='2.2.1')
)
libraryDependencies += "org.ruaux" % "jdiscogs" % "2.2.1"
[org.ruaux/jdiscogs "2.2.1"]

Dependencies

runtime (6)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-batch jar
org.springframework : spring-web jar
org.springframework : spring-oxm jar
org.glassfish.jaxb : jaxb-runtime jar
com.redislabs : spring-redisearch jar 2.3.2
com.redislabs : spring-batch-redisearch jar 2.4.3

Project Modules

There are no modules declared in this project.

JDiscogs

JDiscogs is a Java client for Discogs API and data dumps.

Discogs.com API

JDiscogs includes a client that wraps the Discogs API.

Client configuration in a Spring context can be done via these application properties:

  • discogs.api.token : a discogs.com token to be used for interaction with the API

  • discogs.api.user-agent : user-agent to use when interacting with the discogs.com API (default: jdiscogs.useragent)

The client can also be configured programmatically using DiscogsApiOptions.

Discogs Data Dumps

Discogs.com provides monthly data dumps. JDiscogs can be used to load Release and Master data into RediSearch.

The data load is done by two Spring Batch jobs that can be configured through application properties:

Master Schema

  • id : tag sortable

  • title : text phonetic dm:en sortable

  • artist : text sortable

  • artistId : tag sortable

  • genres : tag sortable

  • year : numeric sortable

Release Schema

  • id : tag sortable

  • title : text sortable

  • artist : text sortable

Versions

Version
2.2.1
2.2.0
2.1.1
2.1.0
1.2.0
1.1.3
1.1.0
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.0
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2