discogs-basics
v0.1.1
Published
Minimal wrapper for the Discogs Collection API.
Downloads
3
Readme
Discogs Collection Basics
Minimal wrapper for the Discogs Collection API.
Install
$ > yarn install discogs-basics
Usage
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)
License
Feel free to use the code, it's released using the MIT license.
Contributors
Contribution
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.