Skip to content
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.

ben-obringer/meteor-discogs

Repository files navigation

Meteor-Discogs

obringer20:meteor-discogs

Retrieves artists, labels, master releases, and releases from Discogs. Built on top of disconnect, a Node.js client library.

Table of Contents

Installation

$ meteor add obringer20:meteor-discogs

Setup

Add to your settings.json file:

"discogs": {
  "consumerKey": "yourConsumerKey",
  "consumerSecret": "yourConsumerSecret"
}

Usage

// Instantiation
const discogs = new Discogs();

// Retrieving an artist
const artist = discogs.artist(123);

// Retrieving a label
const label = discogs.label(123);

// Retrieving a master release
const masterRelease = discogs.masterRelease(123);

// Retrieving a release
const release = discogs.release(123);

// Searching
const search = discogs.search('illmatic - nas');

Testing

VELOCITY_TEST_PACKAGES=1 meteor test-packages --driver-package velocity:html-reporter ./ --settings settings.json

About

Retrieves music data from Discogs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published