discogs-basics
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Discogs Collection Basics

npm CircleCI license Coveralls

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.

Readme

Keywords

none

Package Sidebar

Install

npm i discogs-basics

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • sbstjn