Minimal wrapper for the Discogs Collection API.
$ > yarn install discogs-basics
First create an access token for accessing the Discogs API.
const Discogs = new API('username', 'token')
// Get details about most recent record
Discogs.Last().then(console.log)
// Get number of items in your collection
Discogs.Items().then(console.log)
// Get maximum, minimum, median collection value
Discogs.Value().then(console.log)
Feel free to use the code, it's released using the MIT license.
You are more than welcome to contribute to this project! 😘
To make sure you have a pleasant experience, please read our code of conduct. It outlines core values and believes and will make working together a happier experience.