Skip to content

jruaux/jdiscogs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Java client for Discogs API

Resources

Stars

Watchers

Forks

Packages

No packages published